Cobalt
Cobalt is a very dark, saturated blue color with the hex code #030AA7 (hue 237°, saturation 96%, lightness 33%).
- HEX
#030AA7 - RGB
rgb(3 10 167) - HSL
hsl(237 96% 33%) - OKLCH
oklch(33.6% 0.223 265)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Cobalt | #030AA7 | 3, 10, 167 | 237°, 96%, 33% | 98, 94, 0, 35 | 33.6% 0.223 265 |
Contrast with white text 13.08:1, with black text 1.61:1 — use white text on Cobalt.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Cobalt
Move the sliders to make Cobalt lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#030AA7 - RGB
rgb(3 10 167) - HSL
hsl(237 96% 33%)
Variations of Cobalt
Text on Cobalt
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Cobalt with color blindness
How Cobalt appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Cobalt
Six color schemes built on Cobalt with classic harmony rules. The complementary scheme pairs it with Countryside (#A4A404), the color opposite it on the color wheel.
- Cobalt Complementary Color Scheme#030AA7#021BF9#A4A404#555500#FFEF17
- Cobalt Analogous Color Scheme#01A6A0#0056A8#030AA7#5500AA#AA00AA
- Cobalt Triadic Color Scheme#030AA7#A90308#11AA00#1C1CF0#550000
- Cobalt Split-complementary Color Scheme#030AA7#AC4F06#5CA904#00035B#F97306
- Cobalt Tetradic Color Scheme#030AA7#A0025C#A4A404#00A550#1C1CF0
- Cobalt Monochromatic Color Scheme#01081C#00035B#030AA7#0011EE#4B4CFC
Nearest CSS named colors
- Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is darker than Cobalt (relative luminance 0.019 vs 0.030) and equally saturated, with its hue 3° away. - Medium Blue (
mediumblue): Medium Blue (#0000CD) is lighter than Cobalt (relative luminance 0.044 vs 0.030) and equally saturated, with its hue 3° away. - Navy (
navy): Navy (#000080) is darker than Cobalt (relative luminance 0.016 vs 0.030) and equally saturated, with its hue 3° away. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Cobalt (relative luminance 0.021 vs 0.030) and less saturated, with its hue 3° away.
Similar dark blue colors
- 20000 Leagues Under the Sea#191970
- 3AM in Shibuya#225577
- Abyssal#404C57
- Aegean Blue#1B416F
- Alone in the Dark#000066
- Assassin#2D4F83
- Astral#376F89
- Atlantic Navy#13336F
- Atlantis#336172
- Below the Surface#0A2F7C
- Beyond the Sea#005784
- Black Market#222244
- Black Sea Night#052462
- Black Turmeric#2C4364
- Blue Chip#1D5699
- Blue Funk#2D4470
- Blue Hour#0034AB
- Blue Screen of Death#0033BB
Questions
What is the hex code for Cobalt?
#030AA7 — RGB 3, 10, 167, HSL 237°, 96%, 33%.
Is Cobalt a warm or cool color?
Cool — its hue sits at 237° on the color wheel.