#1F3D4E
Closest named color: Dark Blue Grey (#1F3B4D). oklch(34.5% 0.047 235.2), rgb(31, 61, 78).
Aa
White text reads best on this color (11.43:1).
About this color
#1F3D4E is a dark, muted blue. In OKLCH its lightness is 34%, its chroma 0.047 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.007 away. White text reads best on it, at 11.43:1.
| Hue family | Blues |
| Lightness | dark (34%) |
| Chroma | muted (0.047) |
| Temperature | cool |
| Nearest name | Dark Blue Grey (#1F3B4D) |
| Black text | 1.83:1 |
| White text | 11.43:1 |
Values
| HEX | #1F3D4E |
| RGB | rgb(31, 61, 78) |
| HSL | hsl(202, 43%, 21%) |
| OKLCH | oklch(34.5% 0.047 235.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 #1F3D4E | 11.43:1 | AAA | Lc -100.0 | Preferred for body text |
| Black text on #1F3D4E | 1.83:1 | Fails | Lc 7.6 | Not readable |
| #1F3D4E text on white | 11.43:1 | AAA | Lc 96.3 | Preferred for body text |
| #1F3D4E 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
#F3F6F8
oklch(97.1% 0.004 236.5)
-
Step 100
100
#E4EBF0
oklch(93.6% 0.01 238.5)
-
Step 200
200
#CDDCE4
oklch(88.6% 0.02 230.7)
-
Step 300
300
#ACC5D4
oklch(81% 0.034 234.2)
-
Step 400
400
#7FA7BF
oklch(70.8% 0.056 234.9)
-
Step 500
500
#5D91AF
oklch(63.2% 0.072 234.8)
-
Step 600
600
#427B9A
oklch(55.7% 0.077 234.3)
-
Step 700
700
#336784
oklch(49.1% 0.072 235.3)
-
Step 800
800
#2B546B
oklch(42.6% 0.06 235.1)
-
Step 900
900 (this color)
#1F3D4E
oklch(34.5% 0.047 235.2)
-
Step 950
950
#182933
oklch(27.1% 0.029 235.2)
#1F3D4E 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) | #353C4F | 0.029 |
| Deuteranopia (no green cones) | #2E374E | 0.026 |
| Tritanopia (no blue cones) | #004143 | 0.035 |
| Achromatopsia (no color) | #3A3A3A | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F3D4E
#1F3D4E
oklch(34.5% 0.047 235.2)
- #4C3321
#4C3321
oklch(34.6% 0.046 56.3)
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 #1F3D4E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Blue Grey #1F3B4D ΔE 0.007
- Midnight Green #073B4C ΔE 0.021
- Charcoal #264653 ΔE 0.032
- Onyx #343A40 ΔE 0.034
- Prussian Blue #1D3557 ΔE 0.035
- Dark Grey Blue #29465B ΔE 0.037
- Gunmetal #293241 ΔE 0.038
- Charcoal Grey #3C4142 ΔE 0.048
Use #1F3D4E 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.