#1B417E
Closest named color: Twilight Blue (#0A437A). oklch(38.4% 0.112 259.5), rgb(27, 65, 126).
Aa
White text reads best on this color (9.98:1).
About this color
#1B417E is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.112 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.014 away. White text reads best on it, at 9.98:1.
| Hue family | Blues |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.10:1 |
| White text | 9.98:1 |
Values
| HEX | #1B417E |
| RGB | rgb(27, 65, 126) |
| HSL | hsl(217, 65%, 30%) |
| OKLCH | oklch(38.4% 0.112 259.5) |
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 #1B417E | 9.98:1 | AAA | Lc -97.0 | Preferred for body text |
| Black text on #1B417E | 2.10:1 | Fails | Lc 11.1 | Not readable |
| #1B417E text on white | 9.98:1 | AAA | Lc 92.8 | Preferred for body text |
| #1B417E text on black | 2.10:1 | Fails | Lc -9.7 | 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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E0EBFB
oklch(93.7% 0.025 257.6)
-
Step 200
200
#C7DAF9
oklch(88.4% 0.048 260.2)
-
Step 300
300
#A1C2F7
oklch(80.9% 0.084 259.8)
-
Step 400
400
#6DA1F4
oklch(70.8% 0.134 259.4)
-
Step 500
500
#4586F0
oklch(63.1% 0.173 259.7)
-
Step 600
600
#256DDE
oklch(55.6% 0.187 259.6)
-
Step 700
700
#175AC1
oklch(49.1% 0.174 259.6)
-
Step 800
800
#164A9C
oklch(42.6% 0.145 259.6)
-
Step 900
900 (this color)
#1B417E
oklch(38.4% 0.112 259.5)
-
Step 950
950
#102549
oklch(26.9% 0.072 260.4)
#1B417E 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) | #204780 | 0.019 |
| Deuteranopia (no green cones) | #063E7D | 0.017 |
| Tritanopia (no blue cones) | #004F59 | 0.087 |
| Achromatopsia (no color) | #424242 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1B417E
#1B417E
oklch(38.4% 0.112 259.5)
- #5A3D00
#5A3D00
oklch(38.3% 0.08 78.5)
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 #1B417E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.014
- Cobalt #1E488F ΔE 0.034
- Light Navy #155084 ΔE 0.044
- Marine Blue #01386A ΔE 0.048
- Deep Sea Blue #015482 ΔE 0.055
- Dusk Blue #26538D ΔE 0.058
- Dark Slate Blue #483D8B ΔE 0.063
- Dark Grey Blue #29465B ΔE 0.066
Use #1B417E 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.