#313A5A
Closest named color: Prussian Blue (#1D3557). oklch(35.6% 0.057 271.3), rgb(49, 58, 90).
Aa
White text reads best on this color (11.14:1).
About this color
#313A5A is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.057 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.034 away. White text reads best on it, at 11.14:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | muted (0.057) |
| Temperature | cool |
| Nearest name | Prussian Blue (#1D3557) |
| Black text | 1.88:1 |
| White text | 11.14:1 |
Values
| HEX | #313A5A |
| RGB | rgb(49, 58, 90) |
| HSL | hsl(227, 29%, 27%) |
| OKLCH | oklch(35.6% 0.057 271.3) |
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 #313A5A | 11.14:1 | AAA | Lc -99.5 | Preferred for body text |
| Black text on #313A5A | 1.88:1 | Fails | Lc 8.2 | Not readable |
| #313A5A text on white | 11.14:1 | AAA | Lc 95.7 | Preferred for body text |
| #313A5A text on black | 1.88: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
#D3D9E9
oklch(88.6% 0.023 269.4)
-
Step 300
300
#B6C0DD
oklch(80.9% 0.042 270.4)
-
Step 400
400
#919FCC
oklch(70.8% 0.068 271.2)
-
Step 500
500
#7686BF
oklch(63% 0.088 271.7)
-
Step 600
600
#5F70AB
oklch(55.7% 0.094 270.9)
-
Step 700
700
#4E5D93
oklch(49% 0.089 271.1)
-
Step 800
800
#404C77
oklch(42.6% 0.073 271.2)
-
Step 900
900 (this color)
#313A5A
oklch(35.6% 0.057 271.3)
-
Step 950
950
#202538
oklch(26.9% 0.036 272.4)
#313A5A 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) | #2F3D5B | 0.009 |
| Deuteranopia (no green cones) | #2B3A59 | 0.009 |
| Tritanopia (no blue cones) | #234146 | 0.051 |
| Achromatopsia (no color) | #3B3B3B | 0.057 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313A5A
#313A5A
oklch(35.6% 0.057 271.3)
- #473B15
#473B15
oklch(35.6% 0.057 91.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 #313A5A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Prussian Blue #1D3557 ΔE 0.034
- Dark Blue Grey #1F3B4D ΔE 0.035
- Dark Grey Blue #29465B ΔE 0.038
- Charcoal #264653 ΔE 0.045
- Onyx #343A40 ΔE 0.046
- Gunmetal #293241 ΔE 0.049
- Midnight Green #073B4C ΔE 0.052
- Marine Blue #01386A ΔE 0.054
Use #313A5A 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.