#31476D
Closest named color: Dark Grey Blue (#29465B). oklch(39.8% 0.07 260.8), rgb(49, 71, 109).
Aa
White text reads best on this color (9.32:1).
About this color
#31476D is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.070 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.033 away. White text reads best on it, at 9.32:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.070) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.25:1 |
| White text | 9.32:1 |
Values
| HEX | #31476D |
| RGB | rgb(49, 71, 109) |
| HSL | hsl(218, 38%, 31%) |
| OKLCH | oklch(39.8% 0.07 260.8) |
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 #31476D | 9.32:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #31476D | 2.25:1 | Fails | Lc 12.5 | Not readable |
| #31476D text on white | 9.32:1 | AAA | Lc 91.4 | Preferred for body text |
| #31476D text on black | 2.25:1 | Fails | Lc -10.9 | 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
#F3F6FA
oklch(97.2% 0.006 255.5)
-
Step 100
100
#E4EAF4
oklch(93.5% 0.015 260.7)
-
Step 200
200
#CEDAED
oklch(88.5% 0.029 259.6)
-
Step 300
300
#AEC2E3
oklch(81% 0.052 260.4)
-
Step 400
400
#83A1D6
oklch(70.7% 0.085 261.5)
-
Step 500
500
#6389CB
oklch(63% 0.109 261)
-
Step 600
600
#4A72B7
oklch(55.5% 0.117 260.7)
-
Step 700
700
#3C5F9E
oklch(49% 0.109 261.3)
-
Step 800
800
#314E80
oklch(42.6% 0.091 260.7)
-
Step 900
900 (this color)
#31476D
oklch(39.8% 0.07 260.8)
-
Step 950
950
#1A263C
oklch(26.9% 0.045 261.9)
#31476D 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) | #384A6F | 0.014 |
| Deuteranopia (no green cones) | #31446C | 0.009 |
| Tritanopia (no blue cones) | #134F55 | 0.062 |
| Achromatopsia (no color) | #474747 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31476D
#31476D
oklch(39.8% 0.07 260.8)
- #5B4314
#5B4314
oklch(40% 0.07 80.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 #31476D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.033
- Twilight Blue #0A437A ΔE 0.044
- Light Navy #155084 ΔE 0.045
- Charcoal #264653 ΔE 0.048
- Deep Sea Blue #015482 ΔE 0.051
- Dusk Blue #26538D ΔE 0.058
- Cobalt #1E488F ΔE 0.059
- YInMn Blue #415A77 ΔE 0.064
Use #31476D 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.