#31495E
Closest named color: Dark Grey Blue (#29465B). oklch(39.5% 0.046 245.7), rgb(49, 73, 94).
Aa
White text reads best on this color (9.35:1).
About this color
#31495E is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.046 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.015 away. White text reads best on it, at 9.35:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | muted (0.046) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.24:1 |
| White text | 9.35:1 |
Values
| HEX | #31495E |
| RGB | rgb(49, 73, 94) |
| HSL | hsl(208, 31%, 28%) |
| OKLCH | oklch(39.5% 0.046 245.7) |
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 #31495E | 9.35:1 | AAA | Lc -95.9 | Preferred for body text |
| Black text on #31495E | 2.24:1 | Fails | Lc 12.4 | Not readable |
| #31495E text on white | 9.35:1 | AAA | Lc 91.5 | Preferred for body text |
| #31495E text on black | 2.24:1 | Fails | Lc -10.8 | 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
#CFDBE5
oklch(88.5% 0.019 243)
-
Step 300
300
#AFC3D6
oklch(80.8% 0.035 246.9)
-
Step 400
400
#84A5C2
oklch(70.8% 0.056 245.2)
-
Step 500
500
#658EB2
oklch(63.1% 0.071 245.7)
-
Step 600
600
#4B789E
oklch(55.6% 0.077 245.3)
-
Step 700
700
#3C6587
oklch(49.2% 0.072 245)
-
Step 800
800
#32526E
oklch(42.6% 0.06 246.2)
-
Step 900
900 (this color)
#31495E
oklch(39.5% 0.046 245.7)
-
Step 950
950
#1A2834
oklch(27% 0.03 245.1)
#31495E 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) | #40495F | 0.021 |
| Deuteranopia (no green cones) | #3B455E | 0.017 |
| Tritanopia (no blue cones) | #1F4E50 | 0.039 |
| Achromatopsia (no color) | #474747 | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31495E
#31495E
oklch(39.5% 0.046 245.7)
- #58412B
#58412B
oklch(39.5% 0.047 64.5)
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 #31495E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.015
- Charcoal #264653 ΔE 0.025
- Dark Slate Gray #2F4F4F ΔE 0.037
- Charcoal Grey #3C4142 ΔE 0.047
- Deep Teal #00555A ΔE 0.051
- Dark Teal #014D4E ΔE 0.051
- Dark Blue Grey #1F3B4D ΔE 0.057
- Onyx #343A40 ΔE 0.060
Use #31495E 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.