#31495B
Closest named color: Dark Grey Blue (#29465B). oklch(39.4% 0.043 241.6), rgb(49, 73, 91).
Aa
White text reads best on this color (9.39:1).
About this color
#31495B is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.043 and its hue 242°. 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.39:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | muted (0.043) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.23:1 |
| White text | 9.39:1 |
Values
| HEX | #31495B |
| RGB | rgb(49, 73, 91) |
| HSL | hsl(206, 30%, 27%) |
| OKLCH | oklch(39.4% 0.043 241.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 #31495B | 9.39:1 | AAA | Lc -96.0 | Preferred for body text |
| Black text on #31495B | 2.23:1 | Fails | Lc 12.3 | Not readable |
| #31495B text on white | 9.39:1 | AAA | Lc 91.7 | Preferred for body text |
| #31495B text on black | 2.23:1 | Fails | Lc -10.7 | 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
#CFDBE4
oklch(88.5% 0.018 240)
-
Step 300
300
#AFC4D4
oklch(81% 0.032 240.7)
-
Step 400
400
#85A5BE
oklch(70.7% 0.051 242)
-
Step 500
500
#668FAE
oklch(63.2% 0.065 241.7)
-
Step 600
600
#4C7999
oklch(55.7% 0.07 240.6)
-
Step 700
700
#3D6583
oklch(49% 0.066 242.2)
-
Step 800
800
#33536A
oklch(42.8% 0.054 240.9)
-
Step 900
900 (this color)
#31495B
oklch(39.4% 0.043 241.6)
-
Step 950
950
#1A2833
oklch(26.9% 0.028 242.7)
#31495B 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) | #41495C | 0.023 |
| Deuteranopia (no green cones) | #3C445B | 0.021 |
| Tritanopia (no blue cones) | #204D4F | 0.034 |
| Achromatopsia (no color) | #464646 | 0.043 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31495B
#31495B
oklch(39.4% 0.043 241.6)
- #57412E
#57412E
oklch(39.4% 0.043 61.9)
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 #31495B, 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.022
- Dark Slate Gray #2F4F4F ΔE 0.033
- Charcoal Grey #3C4142 ΔE 0.043
- Dark Teal #014D4E ΔE 0.048
- Deep Teal #00555A ΔE 0.048
- Dark Blue Grey #1F3B4D ΔE 0.055
- Onyx #343A40 ΔE 0.057
Use #31495B 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.