#18397B
Closest named color: Twilight Blue (#0A437A). oklch(36.2% 0.119 262.2), rgb(24, 57, 123).
Aa
White text reads best on this color (10.99:1).
About this color
#18397B is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.119 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.029 away. White text reads best on it, at 10.99:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.119) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 1.91:1 |
| White text | 10.99:1 |
Values
| HEX | #18397B |
| RGB | rgb(24, 57, 123) |
| HSL | hsl(220, 67%, 29%) |
| OKLCH | oklch(36.2% 0.119 262.2) |
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 #18397B | 10.99:1 | AAA | Lc -98.9 | Preferred for body text |
| Black text on #18397B | 1.91:1 | Fails | Lc 8.9 | Not readable |
| #18397B text on white | 10.99:1 | AAA | Lc 95.0 | Preferred for body text |
| #18397B text on black | 1.91:1 | Fails | Lc -7.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 900.
-
Step 50
50
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E1EAFC
oklch(93.6% 0.026 264.4)
-
Step 200
200
#C8DAFB
oklch(88.5% 0.05 262.6)
-
Step 300
300
#A1C1FB
oklch(80.8% 0.09 262.1)
-
Step 400
400
#6F9FF9
oklch(70.8% 0.142 262.1)
-
Step 500
500
#4983F6
oklch(63% 0.183 262.3)
-
Step 600
600
#2C69E5
oklch(55.5% 0.199 262.3)
-
Step 700
700
#1F57C7
oklch(49.1% 0.184 262.1)
-
Step 800
800
#1C48A1
oklch(42.8% 0.153 262.3)
-
Step 900
900 (this color)
#18397B
oklch(36.2% 0.119 262.2)
-
Step 950
950
#11244B
oklch(26.9% 0.077 262.8)
#18397B 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) | #0D417D | 0.022 |
| Deuteranopia (no green cones) | #00387A | 0.016 |
| Tritanopia (no blue cones) | #004954 | 0.093 |
| Achromatopsia (no color) | #3C3C3C | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #18397B
#18397B
oklch(36.2% 0.119 262.2)
- #513900
#513900
oklch(36.2% 0.075 82.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 #18397B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.029
- Marine Blue #01386A ΔE 0.034
- Cobalt #1E488F ΔE 0.053
- Marine #042E60 ΔE 0.059
- Prussian Blue #1D3557 ΔE 0.062
- Light Navy #155084 ΔE 0.067
- Dark Slate Blue #483D8B ΔE 0.073
- Dark Grey Blue #29465B ΔE 0.077
Use #18397B 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.