#31456E
Closest named color: Dark Grey Blue (#29465B). oklch(39.4% 0.074 263.6), rgb(49, 69, 110).
Aa
White text reads best on this color (9.51:1).
About this color
#31456E is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.074 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.036 away. White text reads best on it, at 9.51:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.074) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.20:1 |
| White text | 9.51:1 |
Values
| HEX | #31456E |
| RGB | rgb(49, 69, 110) |
| HSL | hsl(220, 38%, 31%) |
| OKLCH | oklch(39.4% 0.074 263.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 #31456E | 9.51:1 | AAA | Lc -96.2 | Preferred for body text |
| Black text on #31456E | 2.20:1 | Fails | Lc 12.0 | Not readable |
| #31456E text on white | 9.51:1 | AAA | Lc 91.9 | Preferred for body text |
| #31456E text on black | 2.20:1 | Fails | Lc -10.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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E4EAF5
oklch(93.6% 0.016 262.8)
-
Step 200
200
#CFDAEE
oklch(88.6% 0.03 262.5)
-
Step 300
300
#AEC1E6
oklch(80.9% 0.056 263.7)
-
Step 400
400
#84A0D9
oklch(70.6% 0.09 264)
-
Step 500
500
#6588CF
oklch(63.1% 0.115 263.5)
-
Step 600
600
#4D71BB
oklch(55.7% 0.123 263.4)
-
Step 700
700
#3E5EA2
oklch(49.2% 0.116 263.7)
-
Step 800
800
#334D83
oklch(42.7% 0.095 263.5)
-
Step 900
900 (this color)
#31456E
oklch(39.4% 0.074 263.6)
-
Step 950
950
#1A263D
oklch(27% 0.046 262.7)
#31456E 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) | #354970 | 0.014 |
| Deuteranopia (no green cones) | #2E436D | 0.008 |
| Tritanopia (no blue cones) | #124E54 | 0.067 |
| Achromatopsia (no color) | #454545 | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31456E
#31456E
oklch(39.4% 0.074 263.6)
- #59420C
#59420C
oklch(39.4% 0.074 83.6)
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 #31456E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.036
- Twilight Blue #0A437A ΔE 0.040
- Light Navy #155084 ΔE 0.047
- Charcoal #264653 ΔE 0.051
- Deep Sea Blue #015482 ΔE 0.054
- Cobalt #1E488F ΔE 0.056
- Dusk Blue #26538D ΔE 0.059
- Marine Blue #01386A ΔE 0.063
Use #31456E 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.