#31475D
Closest named color: Dark Grey Blue (#29465B). oklch(38.9% 0.047 249.1), rgb(49, 71, 93).
Aa
White text reads best on this color (9.58:1).
About this color
#31475D is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.047 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.011 away. White text reads best on it, at 9.58:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | muted (0.047) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.18:1 |
| White text | 9.58:1 |
Values
| HEX | #31475D |
| RGB | rgb(49, 71, 93) |
| HSL | hsl(210, 31%, 28%) |
| OKLCH | oklch(38.9% 0.047 249.1) |
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 #31475D | 9.58:1 | AAA | Lc -96.4 | Preferred for body text |
| Black text on #31475D | 2.18:1 | Fails | Lc 11.8 | Not readable |
| #31475D text on white | 9.58:1 | AAA | Lc 92.2 | Preferred for body text |
| #31475D text on black | 2.18:1 | Fails | Lc -10.3 | 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
#F3F6F8
oklch(97.1% 0.004 236.5)
-
Step 100
100
#E5EBF0
oklch(93.7% 0.009 242.8)
-
Step 200
200
#D0DAE6
oklch(88.4% 0.02 252.9)
-
Step 300
300
#B0C3D7
oklch(80.9% 0.035 249.6)
-
Step 400
400
#86A4C3
oklch(70.7% 0.056 249.5)
-
Step 500
500
#678DB3
oklch(63% 0.072 249)
-
Step 600
600
#4E779F
oklch(55.6% 0.078 248.8)
-
Step 700
700
#3F6488
oklch(49.1% 0.072 248.8)
-
Step 800
800
#34526F
oklch(42.8% 0.06 248.6)
-
Step 900
900 (this color)
#31475D
oklch(38.9% 0.047 249.1)
-
Step 950
950
#1B2834
oklch(27.1% 0.029 246.9)
#31475D 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) | #3E485E | 0.019 |
| Deuteranopia (no green cones) | #39435D | 0.016 |
| Tritanopia (no blue cones) | #204C4E | 0.040 |
| Achromatopsia (no color) | #454545 | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31475D
#31475D
oklch(38.9% 0.047 249.1)
- #554029
#554029
oklch(38.8% 0.046 68.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 #31475D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.011
- Charcoal #264653 ΔE 0.023
- Dark Slate Gray #2F4F4F ΔE 0.041
- Charcoal Grey #3C4142 ΔE 0.045
- Dark Blue Grey #1F3B4D ΔE 0.051
- Dark Teal #014D4E ΔE 0.053
- Deep Teal #00555A ΔE 0.055
- Onyx #343A40 ΔE 0.055
Use #31475D 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.