#313D54
Closest named color: Dark Grey Blue (#29465B). oklch(36% 0.043 263), rgb(49, 61, 84).
Aa
White text reads best on this color (10.90:1).
About this color
#313D54 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.043 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.028 away. White text reads best on it, at 10.90:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | muted (0.043) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 1.92:1 |
| White text | 10.90:1 |
Values
| HEX | #313D54 |
| RGB | rgb(49, 61, 84) |
| HSL | hsl(219, 26%, 26%) |
| OKLCH | oklch(36% 0.043 263) |
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 #313D54 | 10.90:1 | AAA | Lc -99.1 | Preferred for body text |
| Black text on #313D54 | 1.92:1 | Fails | Lc 8.7 | Not readable |
| #313D54 text on white | 10.90:1 | AAA | Lc 95.2 | Preferred for body text |
| #313D54 text on black | 1.92:1 | Fails | Lc -7.4 | 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
#E6EAF0
oklch(93.6% 0.009 258.3)
-
Step 200
200
#D3D9E5
oklch(88.4% 0.018 264.5)
-
Step 300
300
#B6C1D6
oklch(80.9% 0.032 263.5)
-
Step 400
400
#90A1C2
oklch(70.7% 0.052 263.6)
-
Step 500
500
#748AB2
oklch(63.1% 0.066 262.2)
-
Step 600
600
#5D739E
oklch(55.6% 0.072 263.3)
-
Step 700
700
#4D6187
oklch(49.2% 0.066 262.8)
-
Step 800
800
#3F4F6E
oklch(42.8% 0.056 263.2)
-
Step 900
900 (this color)
#313D54
oklch(36% 0.043 263)
-
Step 950
950
#1F2634
oklch(26.8% 0.028 263.9)
#313D54 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) | #353F55 | 0.009 |
| Deuteranopia (no green cones) | #313B53 | 0.006 |
| Tritanopia (no blue cones) | #264245 | 0.039 |
| Achromatopsia (no color) | #3D3D3D | 0.043 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313D54
#313D54
oklch(36% 0.043 263)
- #483B22
#483B22
oklch(36% 0.043 82.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 #313D54, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.028
- Dark Blue Grey #1F3B4D ΔE 0.029
- Charcoal #264653 ΔE 0.032
- Onyx #343A40 ΔE 0.034
- Prussian Blue #1D3557 ΔE 0.041
- Charcoal Grey #3C4142 ΔE 0.041
- Gunmetal #293241 ΔE 0.046
- Midnight Green #073B4C ΔE 0.047
Use #313D54 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.