#31385E
Closest named color: Prussian Blue (#1D3557). oklch(35.3% 0.067 274.6), rgb(49, 56, 94).
Aa
White text reads best on this color (11.30:1).
About this color
#31385E is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.067 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.033 away. White text reads best on it, at 11.30:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | muted (0.067) |
| Temperature | cool |
| Nearest name | Prussian Blue (#1D3557) |
| Black text | 1.85:1 |
| White text | 11.30:1 |
Values
| HEX | #31385E |
| RGB | rgb(49, 56, 94) |
| HSL | hsl(231, 31%, 28%) |
| OKLCH | oklch(35.3% 0.067 274.6) |
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 #31385E | 11.30:1 | AAA | Lc -99.8 | Preferred for body text |
| Black text on #31385E | 1.85:1 | Fails | Lc 7.9 | Not readable |
| #31385E text on white | 11.30:1 | AAA | Lc 96.0 | Preferred for body text |
| #31385E text on black | 1.85: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
#F4F5FA
oklch(97.1% 0.007 277.2)
-
Step 100
100
#E7E9F4
oklch(93.6% 0.015 277.8)
-
Step 200
200
#D3D8EC
oklch(88.4% 0.028 274.6)
-
Step 300
300
#B6BFE2
oklch(80.9% 0.05 273.9)
-
Step 400
400
#919DD3
oklch(70.7% 0.08 274.5)
-
Step 500
500
#7784C7
oklch(63.1% 0.102 274.7)
-
Step 600
600
#606DB4
oklch(55.6% 0.111 274.4)
-
Step 700
700
#505B9B
oklch(49.2% 0.103 274.6)
-
Step 800
800
#414A7E
oklch(42.7% 0.087 274.7)
-
Step 900
900 (this color)
#31385E
oklch(35.3% 0.067 274.6)
-
Step 950
950
#20253B
oklch(27.1% 0.042 273.5)
#31385E 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) | #2A3C60 | 0.014 |
| Deuteranopia (no green cones) | #26395D | 0.016 |
| Tritanopia (no blue cones) | #214046 | 0.060 |
| Achromatopsia (no color) | #3A3A3A | 0.067 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31385E
#31385E
oklch(35.3% 0.067 274.6)
- #473A08
#473A08
oklch(35.3% 0.067 93.4)
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 #31385E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Prussian Blue #1D3557 ΔE 0.033
- Dark Blue Grey #1F3B4D ΔE 0.043
- Dark Grey Blue #29465B ΔE 0.046
- Marine Blue #01386A ΔE 0.049
- Gunmetal #293241 ΔE 0.054
- Charcoal #264653 ΔE 0.055
- Onyx #343A40 ΔE 0.056
- Space Cadet #2B2D42 ΔE 0.056
Use #31385E 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.