#0C4AA9
Closest named color: Sapphire (#2138AB). oklch(43.5% 0.164 259.9), rgb(12, 74, 169).
Aa
White text reads best on this color (8.17:1).
About this color
#0C4AA9 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.164 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.042 away. White text reads best on it, at 8.17:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | vivid (0.164) |
| Temperature | cool |
| Nearest name | Sapphire (#2138AB) |
| Black text | 2.56:1 |
| White text | 8.17:1 |
Values
| HEX | #0C4AA9 |
| RGB | rgb(12, 74, 169) |
| HSL | hsl(216, 87%, 35%) |
| OKLCH | oklch(43.5% 0.164 259.9) |
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 #0C4AA9 | 8.17:1 | AAA | Lc -92.3 | Preferred for body text |
| Black text on #0C4AA9 | 2.56:1 | Fails | Lc 16.4 | Dividers and decoration only |
| #0C4AA9 text on white | 8.17:1 | AAA | Lc 87.6 | Fine for body text |
| #0C4AA9 text on black | 2.56:1 | Fails | Lc -14.6 | Not readable |
Tints and shades
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 800.
-
Step 50
50
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFD
oklch(93.6% 0.028 258.4)
-
Step 200
200
#C5DAFD
oklch(88.4% 0.054 260.6)
-
Step 300
300
#9CC2FF
oklch(80.9% 0.096 259.7)
-
Step 400
400
#659FFF
oklch(70.6% 0.154 260)
-
Step 500
500
#3984FD
oklch(63.1% 0.195 259.7)
-
Step 600
600
#1269ED
oklch(55.6% 0.214 260)
-
Step 700
700
#0156CE
oklch(49% 0.199 260)
-
Step 800
800 (this color)
#0C4AA9
oklch(43.5% 0.164 259.9)
-
Step 900
900
#123D84
oklch(37.6% 0.129 260.1)
-
Step 950
950
#0C254D
oklch(27.1% 0.08 259.5)
#0C4AA9 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) | #0056AC | 0.031 |
| Deuteranopia (no green cones) | #0049A7 | 0.007 |
| Tritanopia (no blue cones) | #006272 | 0.125 |
| Achromatopsia (no color) | #4F4F4F | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C4AA9
#0C4AA9
oklch(43.5% 0.164 259.9)
- #6B4A00
#6B4A00
oklch(43.4% 0.09 79.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0C4AA9, closest first.
No curated palette has a color within ΔE 0.04 of #0C4AA9.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sapphire #2138AB ΔE 0.042
- Cobalt #1E488F ΔE 0.043
- Blue Blue #2242C7 ΔE 0.052
- Dusk Blue #26538D ΔE 0.057
- Blueberry #464196 ΔE 0.064
- Light Navy #155084 ΔE 0.065
- Deep Sea Blue #015482 ΔE 0.074
- Majorelle Blue #3F37C9 ΔE 0.075
Use #0C4AA9 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.