#313A58
Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.4% 0.054 270.7), rgb(49, 58, 88).
Aa
White text reads best on this color (11.18:1).
About this color
#313A58 is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.054 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.033 away. White text reads best on it, at 11.18:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | muted (0.054) |
| Temperature | cool |
| Nearest name | Dark Blue Grey (#1F3B4D) |
| Black text | 1.87:1 |
| White text | 11.18:1 |
Values
| HEX | #313A58 |
| RGB | rgb(49, 58, 88) |
| HSL | hsl(226, 28%, 27%) |
| OKLCH | oklch(35.4% 0.054 270.7) |
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 #313A58 | 11.18:1 | AAA | Lc -99.6 | Preferred for body text |
| Black text on #313A58 | 1.87:1 | Fails | Lc 8.1 | Not readable |
| #313A58 text on white | 11.18:1 | AAA | Lc 95.8 | Preferred for body text |
| #313A58 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
#E7EAF2
oklch(93.7% 0.011 269.5)
-
Step 200
200
#D3D9E8
oklch(88.5% 0.022 268.4)
-
Step 300
300
#B7C0DB
oklch(80.9% 0.039 270.9)
-
Step 400
400
#919FCA
oklch(70.7% 0.065 270.6)
-
Step 500
500
#7787BC
oklch(63.2% 0.082 271)
-
Step 600
600
#6070A8
oklch(55.6% 0.089 271.1)
-
Step 700
700
#4F5E90
oklch(49.2% 0.083 270.4)
-
Step 800
800
#414D75
oklch(42.8% 0.068 270.6)
-
Step 900
900 (this color)
#313A58
oklch(35.4% 0.054 270.7)
-
Step 950
950
#202637
oklch(27.1% 0.033 269.2)
#313A58 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) | #303D59 | 0.009 |
| Deuteranopia (no green cones) | #2C3A57 | 0.008 |
| Tritanopia (no blue cones) | #244045 | 0.048 |
| Achromatopsia (no color) | #3B3B3B | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313A58
#313A58
oklch(35.4% 0.054 270.7)
- #463A18
#463A18
oklch(35.3% 0.053 90.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 #313A58, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Blue Grey #1F3B4D ΔE 0.033
- Prussian Blue #1D3557 ΔE 0.033
- Dark Grey Blue #29465B ΔE 0.038
- Onyx #343A40 ΔE 0.043
- Charcoal #264653 ΔE 0.043
- Gunmetal #293241 ΔE 0.046
- Midnight Green #073B4C ΔE 0.050
- Space Cadet #2B2D42 ΔE 0.052
Use #313A58 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.