#313E51
Closest named color: Dark Grey Blue (#29465B). oklch(36.1% 0.037 257.8), rgb(49, 62, 81).
Aa
White text reads best on this color (10.83:1).
About this color
#313E51 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.037 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.027 away. White text reads best on it, at 10.83:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 1.93:1 |
| White text | 10.83:1 |
Values
| HEX | #313E51 |
| RGB | rgb(49, 62, 81) |
| HSL | hsl(216, 25%, 25%) |
| OKLCH | oklch(36.1% 0.037 257.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 #313E51 | 10.83:1 | AAA | Lc -99.0 | Preferred for body text |
| Black text on #313E51 | 1.93:1 | Fails | Lc 8.8 | Not readable |
| #313E51 text on white | 10.83:1 | AAA | Lc 95.1 | Preferred for body text |
| #313E51 text on black | 1.93:1 | Fails | Lc -7.6 | 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
#E6EAEF
oklch(93.5% 0.008 253.9)
-
Step 200
200
#D3DAE4
oklch(88.6% 0.016 257.2)
-
Step 300
300
#B6C2D3
oklch(81% 0.027 257)
-
Step 400
400
#90A2BD
oklch(70.7% 0.045 258.4)
-
Step 500
500
#748BAC
oklch(63.1% 0.057 257.4)
-
Step 600
600
#5C7598
oklch(55.7% 0.062 256.9)
-
Step 700
700
#4C6282
oklch(49.2% 0.058 257.7)
-
Step 800
800
#3E5069
oklch(42.7% 0.048 256.7)
-
Step 900
900 (this color)
#313E51
oklch(36.1% 0.037 257.8)
-
Step 950
950
#1F2732
oklch(27% 0.024 256.4)
#313E51 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) | #373F52 | 0.010 |
| Deuteranopia (no green cones) | #343C51 | 0.007 |
| Tritanopia (no blue cones) | #274244 | 0.033 |
| Achromatopsia (no color) | #3D3D3D | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313E51
#313E51
oklch(36.1% 0.037 257.8)
- #483B27
#483B27
oklch(36.1% 0.037 77.9)
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 #313E51, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.027
- Charcoal #264653 ΔE 0.027
- Dark Blue Grey #1F3B4D ΔE 0.028
- Onyx #343A40 ΔE 0.029
- Charcoal Grey #3C4142 ΔE 0.035
- Prussian Blue #1D3557 ΔE 0.045
- Gunmetal #293241 ΔE 0.046
- Midnight Green #073B4C ΔE 0.046
Use #313E51 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.