#313A56
Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.3% 0.05 270), rgb(49, 58, 86).
Aa
White text reads best on this color (11.22:1).
About this color
#313A56 is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.050 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.030 away. White text reads best on it, at 11.22:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | muted (0.050) |
| Temperature | cool |
| Nearest name | Dark Blue Grey (#1F3B4D) |
| Black text | 1.87:1 |
| White text | 11.22:1 |
Values
| HEX | #313A56 |
| RGB | rgb(49, 58, 86) |
| HSL | hsl(225, 27%, 26%) |
| OKLCH | oklch(35.3% 0.05 270) |
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 #313A56 | 11.22:1 | AAA | Lc -99.7 | Preferred for body text |
| Black text on #313A56 | 1.87:1 | Fails | Lc 8.0 | Not readable |
| #313A56 text on white | 11.22:1 | AAA | Lc 95.9 | Preferred for body text |
| #313A56 text on black | 1.87: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
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E7EAF1
oklch(93.7% 0.01 267.4)
-
Step 200
200
#D3D9E8
oklch(88.5% 0.022 268.4)
-
Step 300
300
#B7C0DA
oklch(80.9% 0.038 270.4)
-
Step 400
400
#929FC7
oklch(70.6% 0.061 270.8)
-
Step 500
500
#7787B9
oklch(63% 0.078 270.4)
-
Step 600
600
#6071A5
oklch(55.7% 0.084 269.7)
-
Step 700
700
#4F5E8D
oklch(49% 0.078 269.9)
-
Step 800
800
#414D73
oklch(42.7% 0.065 270.1)
-
Step 900
900 (this color)
#313A56
oklch(35.3% 0.05 270)
-
Step 950
950
#202636
oklch(27% 0.031 268.4)
#313A56 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) | #313D57 | 0.009 |
| Deuteranopia (no green cones) | #2D3955 | 0.007 |
| Tritanopia (no blue cones) | #254044 | 0.046 |
| Achromatopsia (no color) | #3B3B3B | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313A56
#313A56
oklch(35.3% 0.05 270)
- #463A1A
#463A1A
oklch(35.3% 0.051 89.1)
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 #313A56, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Blue Grey #1F3B4D ΔE 0.030
- Prussian Blue #1D3557 ΔE 0.034
- Dark Grey Blue #29465B ΔE 0.037
- Onyx #343A40 ΔE 0.039
- Charcoal #264653 ΔE 0.042
- Gunmetal #293241 ΔE 0.044
- Midnight Green #073B4C ΔE 0.048
- Charcoal Grey #3C4142 ΔE 0.050
Use #313A56 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.