Cobalt Blue #030AA7
Cobalt Blue is a dark, vivid blue with hex code #030AA7 and RGB rgb(3, 10, 167).
Aa
White text reads best on this color (13.08:1).
About this color
#030AA7 is a dark, vivid blue. In OKLCH its lightness is 34%, its chroma 0.223 and its hue 265°. Its hue sits on the cool side of the wheel. It is the named color Cobalt Blue. White text reads best on it, at 13.08:1.
| Hue family | Blues |
| Lightness | dark (34%) |
| Chroma | vivid (0.223) |
| Temperature | cool |
| Nearest name | Cobalt Blue |
| Black text | 1.60:1 |
| White text | 13.08:1 |
Colors that go with Cobalt Blue
Matches found by rotating Cobalt Blue around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Cobalt Blue
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Cobalt Blue, closest first.
No curated palette has a color within ΔE 0.06 of Cobalt Blue yet.
Similar named colors
The eight named colors closest to Cobalt Blue, with their ΔE distance.
- Ultramarine #2000B1 ΔE 0.031
- Royal #0C1793 ΔE 0.035
- Dark Blue #00008B ΔE 0.054
- Medium Blue #0000CD ΔE 0.064
- True Blue #010FCC ΔE 0.065
- Navy #000080 ΔE 0.074
- Indigo Blue #3A18B1 ΔE 0.077
- Sapphire #2138AB ΔE 0.082
More about Cobalt Blue
How to make Cobalt Blue
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 1 part blue
- 1 part purple
Recipe result: #3B3A9F, a difference of ΔE 0.110 from Cobalt Blue. Cobalt Blue is more vivid than these paints can mix, so start from a ready-made blue paint and adjust it.
Codes for Cobalt Blue in every format
| HEX | #030AA7 |
| RGB | rgb(3, 10, 167) |
| HSL | hsl(237, 96%, 33%) |
| OKLCH | oklch(33.6% 0.223 264.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #030AA7 | 13.08:1 | AAA | Lc -100.6 | Preferred for body text |
| Black text on #030AA7 | 1.60:1 | Fails | Lc 0.0 | Not readable |
| #030AA7 text on white | 13.08:1 | AAA | Lc 96.9 | Preferred for body text |
| #030AA7 text on black | 1.60:1 | Fails | Lc 0.0 | Not readable |
Shades and tints of Cobalt Blue
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#F1F6FF
oklch(97.2% 0.013 262.4)
-
Step 100
100
#E0EAFF
oklch(93.6% 0.03 265.3)
-
Step 200
200
#C7D9FF
oklch(88.4% 0.056 265.2)
-
Step 300
300
#A2C0FF
oklch(80.9% 0.096 264.7)
-
Step 400
400
#719DFF
oklch(70.8% 0.152 264.6)
-
Step 500
500
#4C80FF
oklch(63.2% 0.197 264.6)
-
Step 600
600
#275FFF
oklch(55.7% 0.244 264.5)
-
Step 700
700
#0B37FF
oklch(49.1% 0.287 264.7)
-
Step 800
800
#060EE8
oklch(42.7% 0.287 264.6)
-
Step 900
900 (this color)
#030AA7
oklch(33.6% 0.223 264.6)
-
Step 950
950
#03196A
oklch(27.1% 0.141 264.4)
Cobalt Blue with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0039AB | 0.074 |
| Deuteranopia (no green cones) | #0027A5 | 0.035 |
| Tritanopia (no blue cones) | #004561 | 0.166 |
| Achromatopsia (no color) | #313131 | 0.225 |
Use Cobalt Blue in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.