#31456F
Closest named color: Dark Grey Blue (#29465B). oklch(39.5% 0.076 263.9), rgb(49, 69, 111).
Aa
White text reads best on this color (9.49:1).
About this color
#31456F is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.076 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.038 away. White text reads best on it, at 9.49:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.076) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.21:1 |
| White text | 9.49:1 |
Values
| HEX | #31456F |
| RGB | rgb(49, 69, 111) |
| HSL | hsl(221, 39%, 31%) |
| OKLCH | oklch(39.5% 0.076 263.9) |
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 #31456F | 9.49:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #31456F | 2.21:1 | Fails | Lc 12.1 | Not readable |
| #31456F text on white | 9.49:1 | AAA | Lc 91.9 | Preferred for body text |
| #31456F text on black | 2.21: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
#CFD9EF
oklch(88.4% 0.032 266.1)
-
Step 300
300
#AEC1E6
oklch(80.9% 0.056 263.7)
-
Step 400
400
#84A0DA
oklch(70.7% 0.091 264.3)
-
Step 500
500
#6588D0
oklch(63.2% 0.116 263.7)
-
Step 600
600
#4C70BD
oklch(55.5% 0.127 263.8)
-
Step 700
700
#3E5EA3
oklch(49.2% 0.117 263.9)
-
Step 800
800
#334D84
oklch(42.8% 0.097 263.7)
-
Step 900
900 (this color)
#31456F
oklch(39.5% 0.076 263.9)
-
Step 950
950
#1A263E
oklch(27% 0.048 263.3)
#31456F 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) | #344971 | 0.013 |
| Deuteranopia (no green cones) | #2D436E | 0.009 |
| Tritanopia (no blue cones) | #114E54 | 0.069 |
| Achromatopsia (no color) | #464646 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31456F
#31456F
oklch(39.5% 0.076 263.9)
- #594209
#594209
oklch(39.4% 0.076 84.3)
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 #31456F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.038
- Twilight Blue #0A437A ΔE 0.039
- Light Navy #155084 ΔE 0.046
- Charcoal #264653 ΔE 0.053
- Deep Sea Blue #015482 ΔE 0.054
- Cobalt #1E488F ΔE 0.055
- Dusk Blue #26538D ΔE 0.058
- Marine Blue #01386A ΔE 0.063
Use #31456F 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.