#1F386B
Closest named color: Marine Blue (#01386A). oklch(35% 0.094 262.8), rgb(31, 56, 107).
Aa
White text reads best on this color (11.43:1).
About this color
#1F386B is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.094 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.022 away. White text reads best on it, at 11.43:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.094) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.83:1 |
| White text | 11.43:1 |
Values
| HEX | #1F386B |
| RGB | rgb(31, 56, 107) |
| HSL | hsl(220, 55%, 27%) |
| OKLCH | oklch(35% 0.094 262.8) |
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 #1F386B | 11.43:1 | AAA | Lc -99.8 | Preferred for body text |
| Black text on #1F386B | 1.83:1 | Fails | Lc 7.8 | Not readable |
| #1F386B text on white | 11.43:1 | AAA | Lc 96.1 | Preferred for body text |
| #1F386B text on black | 1.83:1 | Fails | Lc 0.0 | 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
#F2F6FC
oklch(97.2% 0.009 258.3)
-
Step 100
100
#E3EAF8
oklch(93.6% 0.02 264.5)
-
Step 200
200
#CCDAF4
oklch(88.6% 0.039 262.9)
-
Step 300
300
#A9C1EF
oklch(80.9% 0.07 263.3)
-
Step 400
400
#7BA0E7
oklch(70.7% 0.112 262.8)
-
Step 500
500
#5986E0
oklch(63% 0.145 262.9)
-
Step 600
600
#406ECE
oklch(55.6% 0.157 263)
-
Step 700
700
#325BB2
oklch(49% 0.146 263.1)
-
Step 800
800
#2A4B90
oklch(42.7% 0.121 263.1)
-
Step 900
900 (this color)
#1F386B
oklch(35% 0.094 262.8)
-
Step 950
950
#162543
oklch(26.8% 0.06 262.9)
#1F386B 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) | #1F3D6D | 0.015 |
| Deuteranopia (no green cones) | #11366A | 0.016 |
| Tritanopia (no blue cones) | #00444C | 0.077 |
| Achromatopsia (no color) | #3A3A3A | 0.094 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F386B
#1F386B
oklch(35% 0.094 262.8)
- #4D3600
#4D3600
oklch(35% 0.072 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 #1F386B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.022
- Prussian Blue #1D3557 ΔE 0.035
- Twilight Blue #0A437A ΔE 0.038
- Marine #042E60 ΔE 0.045
- Dark Blue Grey #1F3B4D ΔE 0.056
- Dark Grey Blue #29465B ΔE 0.059
- Midnight Green #073B4C ΔE 0.063
- Charcoal #264653 ΔE 0.069
Use #1F386B 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.