#0C489E
Closest named color: Cobalt (#1E488F). oklch(42.1% 0.152 259.1), rgb(12, 72, 158).
Aa
White text reads best on this color (8.61:1).
About this color
#0C489E is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.152 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.026 away. White text reads best on it, at 8.61:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | vivid (0.152) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.43:1 |
| White text | 8.61:1 |
Values
| HEX | #0C489E |
| RGB | rgb(12, 72, 158) |
| HSL | hsl(215, 86%, 33%) |
| OKLCH | oklch(42.1% 0.152 259.1) |
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 #0C489E | 8.61:1 | AAA | Lc -93.5 | Preferred for body text |
| Black text on #0C489E | 2.43:1 | Fails | Lc 15.0 | Dividers and decoration only |
| #0C489E text on white | 8.61:1 | AAA | Lc 88.9 | Fine for body text |
| #0C489E text on black | 2.43:1 | Fails | Lc -13.3 | 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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E0EBFC
oklch(93.7% 0.026 259)
-
Step 200
200
#C6DBFA
oklch(88.6% 0.048 258)
-
Step 300
300
#9EC2FA
oklch(80.8% 0.089 259.1)
-
Step 400
400
#69A0F8
oklch(70.6% 0.142 259.4)
-
Step 500
500
#3E86F5
oklch(63.2% 0.181 259)
-
Step 600
600
#1A6CE4
oklch(55.6% 0.198 259.2)
-
Step 700
700
#0A59C6
oklch(49% 0.184 259.2)
-
Step 800
800 (this color)
#0C489E
oklch(42.1% 0.152 259.1)
-
Step 900
900
#153F7F
oklch(37.8% 0.118 259)
-
Step 950
950
#0E254A
oklch(26.9% 0.075 259.5)
#0C489E 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) | #0052A1 | 0.027 |
| Deuteranopia (no green cones) | #00469C | 0.009 |
| Tritanopia (no blue cones) | #005D6C | 0.114 |
| Achromatopsia (no color) | #4C4C4C | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C489E
#0C489E
oklch(42.1% 0.152 259.1)
- #674700
#674700
oklch(42.3% 0.088 79.2)
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 #0C489E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.026
- Sapphire #2138AB ΔE 0.044
- Dusk Blue #26538D ΔE 0.049
- Light Navy #155084 ΔE 0.051
- Blueberry #464196 ΔE 0.059
- Twilight Blue #0A437A ΔE 0.061
- Deep Sea Blue #015482 ΔE 0.061
- Blue Blue #2242C7 ΔE 0.069
Use #0C489E 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.