#1D4789
Closest named color: Cobalt (#1E488F). oklch(40.7% 0.12 259.3), rgb(29, 71, 137).
Aa
White text reads best on this color (9.07:1).
About this color
#1D4789 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.120 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.010 away. White text reads best on it, at 9.07:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.120) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.31:1 |
| White text | 9.07:1 |
Values
| HEX | #1D4789 |
| RGB | rgb(29, 71, 137) |
| HSL | hsl(217, 65%, 33%) |
| OKLCH | oklch(40.7% 0.12 259.3) |
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 #1D4789 | 9.07:1 | AAA | Lc -94.9 | Preferred for body text |
| Black text on #1D4789 | 2.31:1 | Fails | Lc 13.5 | Not readable |
| #1D4789 text on white | 9.07:1 | AAA | Lc 90.5 | Preferred for body text |
| #1D4789 text on black | 2.31:1 | Fails | Lc -11.8 | 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
#F2F6FC
oklch(97.2% 0.009 258.3)
-
Step 100
100
#E2EAF8
oklch(93.5% 0.021 261.8)
-
Step 200
200
#CADAF3
oklch(88.4% 0.039 259.3)
-
Step 300
300
#A6C2EE
oklch(80.9% 0.07 259.3)
-
Step 400
400
#76A1E6
oklch(70.6% 0.112 259.6)
-
Step 500
500
#5288DF
oklch(63% 0.144 259.5)
-
Step 600
600
#3670CD
oklch(55.6% 0.156 259.5)
-
Step 700
700
#285EB1
oklch(49.2% 0.144 259)
-
Step 800
800 (this color)
#1D4789
oklch(40.7% 0.12 259.3)
-
Step 900
900
#214172
oklch(37.8% 0.092 258.7)
-
Step 950
950
#142643
oklch(27% 0.059 259.5)
#1D4789 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) | #234E8B | 0.022 |
| Deuteranopia (no green cones) | #064488 | 0.017 |
| Tritanopia (no blue cones) | #005761 | 0.094 |
| Achromatopsia (no color) | #494949 | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1D4789
#1D4789
oklch(40.7% 0.12 259.3)
- #624300
#624300
oklch(40.7% 0.085 78.8)
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 #1D4789, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.010
- Light Navy #155084 ΔE 0.029
- Twilight Blue #0A437A ΔE 0.031
- Dusk Blue #26538D ΔE 0.037
- Deep Sea Blue #015482 ΔE 0.042
- Blueberry #464196 ΔE 0.056
- Dark Slate Blue #483D8B ΔE 0.057
- Light Navy Blue #2E5A88 ΔE 0.061
Use #1D4789 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.