#1F4D6A
Closest named color: Dark Grey Blue (#29465B). oklch(40.2% 0.07 239.5), rgb(31, 77, 106).
Aa
White text reads best on this color (9.02:1).
About this color
#1F4D6A is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.070 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.029 away. White text reads best on it, at 9.02:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | muted (0.070) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.32:1 |
| White text | 9.02:1 |
Values
| HEX | #1F4D6A |
| RGB | rgb(31, 77, 106) |
| HSL | hsl(203, 55%, 27%) |
| OKLCH | oklch(40.2% 0.07 239.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 #1F4D6A | 9.02:1 | AAA | Lc -94.9 | Preferred for body text |
| Black text on #1F4D6A | 2.32:1 | Fails | Lc 13.5 | Not readable |
| #1F4D6A text on white | 9.02:1 | AAA | Lc 90.5 | Preferred for body text |
| #1F4D6A text on black | 2.32: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
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E3EBF1
oklch(93.6% 0.012 239.9)
-
Step 200
200
#CCDCE7
oklch(88.6% 0.023 237.7)
-
Step 300
300
#A9C5D9
oklch(80.9% 0.041 239.1)
-
Step 400
400
#7BA7C5
oklch(70.8% 0.065 238.7)
-
Step 500
500
#5790B7
oklch(63% 0.084 239.9)
-
Step 600
600
#3B7AA3
oklch(55.6% 0.091 239.8)
-
Step 700
700
#2D678B
oklch(49.2% 0.083 238.9)
-
Step 800
800 (this color)
#1F4D6A
oklch(40.2% 0.07 239.5)
-
Step 900
900
#24455C
oklch(37.6% 0.055 240.8)
-
Step 950
950
#162936
oklch(27.1% 0.035 239.7)
#1F4D6A 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) | #404D6B | 0.038 |
| Deuteranopia (no green cones) | #354669 | 0.030 |
| Tritanopia (no blue cones) | #005457 | 0.048 |
| Achromatopsia (no color) | #494949 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F4D6A
#1F4D6A
oklch(40.2% 0.07 239.5)
- #643E1E
#643E1E
oklch(40.2% 0.07 58.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 #1F4D6A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.029
- Charcoal #264653 ΔE 0.040
- Deep Sea Blue #015482 ΔE 0.041
- Light Navy #155084 ΔE 0.043
- Deep Teal #00555A ΔE 0.046
- Twilight Blue #0A437A ΔE 0.048
- Dark Slate Gray #2F4F4F ΔE 0.050
- Dark Teal #014D4E ΔE 0.054
Use #1F4D6A 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.