#1F4768
Closest named color: Dark Grey Blue (#29465B). oklch(38.6% 0.072 246.1), rgb(31, 71, 104).
Aa
White text reads best on this color (9.72:1).
About this color
#1F4768 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.072 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.023 away. White text reads best on it, at 9.72:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.072) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.15:1 |
| White text | 9.72:1 |
Values
| HEX | #1F4768 |
| RGB | rgb(31, 71, 104) |
| HSL | hsl(207, 54%, 26%) |
| OKLCH | oklch(38.6% 0.072 246.1) |
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 #1F4768 | 9.72:1 | AAA | Lc -96.6 | Preferred for body text |
| Black text on #1F4768 | 2.15:1 | Fails | Lc 11.6 | Not readable |
| #1F4768 text on white | 9.72:1 | AAA | Lc 92.3 | Preferred for body text |
| #1F4768 text on black | 2.15:1 | Fails | Lc -10.1 | 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
#F2F6FA
oklch(97.1% 0.007 247.9)
-
Step 100
100
#E2EBF4
oklch(93.6% 0.016 248)
-
Step 200
200
#CADCEC
oklch(88.6% 0.029 244.9)
-
Step 300
300
#A5C5E2
oklch(81% 0.054 245.9)
-
Step 400
400
#73A6D4
oklch(70.7% 0.087 246.6)
-
Step 500
500
#4B8FC8
oklch(63% 0.111 246.1)
-
Step 600
600
#2A78B5
oklch(55.5% 0.121 246.3)
-
Step 700
700
#1C659C
oklch(49.1% 0.112 246.2)
-
Step 800
800
#1A537E
oklch(42.8% 0.092 245.5)
-
Step 900
900 (this color)
#1F4768
oklch(38.6% 0.072 246.1)
-
Step 950
950
#12283B
oklch(26.9% 0.045 246.6)
#1F4768 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) | #384869 | 0.030 |
| Deuteranopia (no green cones) | #2E4167 | 0.023 |
| Tritanopia (no blue cones) | #004F53 | 0.054 |
| Achromatopsia (no color) | #444444 | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F4768
#1F4768
oklch(38.6% 0.072 246.1)
- #5E3B13
#5E3B13
oklch(38.6% 0.073 65.7)
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 #1F4768, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.023
- Charcoal #264653 ΔE 0.036
- Twilight Blue #0A437A ΔE 0.038
- Light Navy #155084 ΔE 0.049
- Deep Sea Blue #015482 ΔE 0.052
- Dark Blue Grey #1F3B4D ΔE 0.054
- Marine Blue #01386A ΔE 0.055
- Dark Teal #014D4E ΔE 0.058
Use #1F4768 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.