#12458B
Closest named color: Cobalt (#1E488F). oklch(40% 0.128 257.9), rgb(18, 69, 139).
Aa
White text reads best on this color (9.33:1).
About this color
#12458B is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.128 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.015 away. White text reads best on it, at 9.33:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.128) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.24:1 |
| White text | 9.33:1 |
Values
| HEX | #12458B |
| RGB | rgb(18, 69, 139) |
| HSL | hsl(215, 77%, 31%) |
| OKLCH | oklch(40% 0.128 257.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 #12458B | 9.33:1 | AAA | Lc -95.4 | Preferred for body text |
| Black text on #12458B | 2.24:1 | Fails | Lc 12.9 | Not readable |
| #12458B text on white | 9.33:1 | AAA | Lc 91.1 | Preferred for body text |
| #12458B text on black | 2.24:1 | Fails | Lc -11.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 900.
-
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
#C4DBFD
oklch(88.5% 0.053 258)
-
Step 300
300
#9AC3FF
oklch(81% 0.096 257.8)
-
Step 400
400
#60A1FF
oklch(70.8% 0.154 257.7)
-
Step 500
500
#2F85FD
oklch(63.1% 0.197 257.9)
-
Step 600
600
#006CE8
oklch(55.6% 0.205 258)
-
Step 700
700
#005AC4
oklch(49% 0.181 258)
-
Step 800
800
#004AA3
oklch(42.8% 0.158 257.9)
-
Step 900
900 (this color)
#12458B
oklch(40% 0.128 257.9)
-
Step 950
950
#09254D
oklch(27% 0.081 258.1)
#12458B 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) | #1B4C8E | 0.022 |
| Deuteranopia (no green cones) | #00428A | 0.013 |
| Tritanopia (no blue cones) | #005661 | 0.098 |
| Achromatopsia (no color) | #474747 | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12458B
#12458B
oklch(40% 0.128 257.9)
- #604100
#604100
oklch(40% 0.083 78.1)
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 #12458B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.015
- Twilight Blue #0A437A ΔE 0.030
- Light Navy #155084 ΔE 0.036
- Dusk Blue #26538D ΔE 0.046
- Deep Sea Blue #015482 ΔE 0.049
- Blueberry #464196 ΔE 0.061
- Sapphire #2138AB ΔE 0.062
- Dark Slate Blue #483D8B ΔE 0.063
Use #12458B 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.