#313D55
Closest named color: Dark Grey Blue (#29465B). oklch(36% 0.045 263.8), rgb(49, 61, 85).
Aa
White text reads best on this color (10.88:1).
About this color
#313D55 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.045 and its hue 264°. 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.88:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | muted (0.045) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 1.92:1 |
| White text | 10.88:1 |
Values
| HEX | #313D55 |
| RGB | rgb(49, 61, 85) |
| HSL | hsl(220, 27%, 26%) |
| OKLCH | oklch(36% 0.045 263.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 #313D55 | 10.88:1 | AAA | Lc -99.1 | Preferred for body text |
| Black text on #313D55 | 1.92:1 | Fails | Lc 8.7 | Not readable |
| #313D55 text on white | 10.88:1 | AAA | Lc 95.2 | Preferred for body text |
| #313D55 text on black | 1.92:1 | Fails | Lc -7.5 | 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
#E6EAF1
oklch(93.6% 0.01 261.8)
-
Step 200
200
#D3D9E6
oklch(88.5% 0.019 266)
-
Step 300
300
#B6C1D7
oklch(80.9% 0.033 264.4)
-
Step 400
400
#90A1C3
oklch(70.8% 0.054 264.1)
-
Step 500
500
#7489B4
oklch(63% 0.07 264.3)
-
Step 600
600
#5D73A0
oklch(55.7% 0.075 264.1)
-
Step 700
700
#4C6089
oklch(49% 0.071 264)
-
Step 800
800
#3F4F6F
oklch(42.8% 0.057 263.7)
-
Step 900
900 (this color)
#313D55
oklch(36% 0.045 263.8)
-
Step 950
950
#1F2635
oklch(26.9% 0.03 265.1)
#313D55 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) | #353F56 | 0.009 |
| Deuteranopia (no green cones) | #313B54 | 0.006 |
| Tritanopia (no blue cones) | #254245 | 0.041 |
| Achromatopsia (no color) | #3D3D3D | 0.045 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313D55
#313D55
oklch(36% 0.045 263.8)
- #483B21
#483B21
oklch(35.9% 0.044 83.7)
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 #313D55, 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.036
- Prussian Blue #1D3557 ΔE 0.040
- Charcoal Grey #3C4142 ΔE 0.042
- Gunmetal #293241 ΔE 0.047
- Midnight Green #073B4C ΔE 0.048
Use #313D55 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.