#313D52
Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.9% 0.04 261.4), rgb(49, 61, 82).
Aa
White text reads best on this color (10.93:1).
About this color
#313D52 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.040 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.027 away. White text reads best on it, at 10.93:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | muted (0.040) |
| Temperature | cool |
| Nearest name | Dark Blue Grey (#1F3B4D) |
| Black text | 1.91:1 |
| White text | 10.93:1 |
Values
| HEX | #313D52 |
| RGB | rgb(49, 61, 82) |
| HSL | hsl(218, 25%, 26%) |
| OKLCH | oklch(35.9% 0.04 261.4) |
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 #313D52 | 10.93:1 | AAA | Lc -99.2 | Preferred for body text |
| Black text on #313D52 | 1.91:1 | Fails | Lc 8.6 | Not readable |
| #313D52 text on white | 10.93:1 | AAA | Lc 95.3 | Preferred for body text |
| #313D52 text on black | 1.91:1 | Fails | Lc -7.3 | 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
#F4F5F8
oklch(97% 0.004 271.4)
-
Step 100
100
#E7EAF0
oklch(93.6% 0.009 264.5)
-
Step 200
200
#D3D9E4
oklch(88.4% 0.016 262.7)
-
Step 300
300
#B6C1D5
oklch(80.9% 0.031 262.5)
-
Step 400
400
#90A1BF
oklch(70.6% 0.048 261.8)
-
Step 500
500
#758AAF
oklch(63.1% 0.061 261.6)
-
Step 600
600
#5D749B
oklch(55.6% 0.067 260.8)
-
Step 700
700
#4D6184
oklch(49.1% 0.062 261.3)
-
Step 800
800
#3F4F6B
oklch(42.6% 0.051 261.4)
-
Step 900
900 (this color)
#313D52
oklch(35.9% 0.04 261.4)
-
Step 950
950
#202733
oklch(27.1% 0.025 261.1)
#313D52 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) | #363E53 | 0.009 |
| Deuteranopia (no green cones) | #323B52 | 0.006 |
| Tritanopia (no blue cones) | #274144 | 0.035 |
| Achromatopsia (no color) | #3D3D3D | 0.040 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313D52
#313D52
oklch(35.9% 0.04 261.4)
- #473B24
#473B24
oklch(35.9% 0.04 83)
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 #313D52, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Blue Grey #1F3B4D ΔE 0.027
- Dark Grey Blue #29465B ΔE 0.029
- Onyx #343A40 ΔE 0.030
- Charcoal #264653 ΔE 0.031
- Charcoal Grey #3C4142 ΔE 0.038
- Prussian Blue #1D3557 ΔE 0.042
- Gunmetal #293241 ΔE 0.044
- Midnight Green #073B4C ΔE 0.046
Use #313D52 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.