#31587C
Closest named color: Light Navy Blue (#2E5A88). oklch(44.8% 0.074 248), rgb(49, 88, 124).
Aa
White text reads best on this color (7.45:1).
About this color
#31587C is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.074 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.019 away. White text reads best on it, at 7.45:1.
| Hue family | Blues |
| Lightness | dark (45%) |
| Chroma | moderately saturated (0.074) |
| Temperature | cool |
| Nearest name | Light Navy Blue (#2E5A88) |
| Black text | 2.81:1 |
| White text | 7.45:1 |
Values
| HEX | #31587C |
| RGB | rgb(49, 88, 124) |
| HSL | hsl(209, 43%, 34%) |
| OKLCH | oklch(44.8% 0.074 248) |
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 #31587C | 7.45:1 | AAA | Lc -90.6 | Preferred for body text |
| Black text on #31587C | 2.81:1 | Fails | Lc 18.3 | Dividers and decoration only |
| #31587C text on white | 7.45:1 | AAA | Lc 85.8 | Fine for body text |
| #31587C text on black | 2.81:1 | Fails | Lc -16.3 | Dividers and decoration only |
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 800.
-
Step 50
50
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E4EBF2
oklch(93.7% 0.012 248)
-
Step 200
200
#CDDBE9
oklch(88.5% 0.025 248.1)
-
Step 300
300
#ABC4DC
oklch(80.9% 0.044 247.3)
-
Step 400
400
#7EA5CA
oklch(70.7% 0.069 247.5)
-
Step 500
500
#5D8EBD
oklch(63.1% 0.089 248.4)
-
Step 600
600
#4278A9
oklch(55.7% 0.096 247.8)
-
Step 700
700
#336491
oklch(49% 0.09 248.3)
-
Step 800
800 (this color)
#31587C
oklch(44.8% 0.074 248)
-
Step 900
900
#27445F
oklch(37.7% 0.058 248)
-
Step 950
950
#182838
oklch(27.1% 0.037 249.3)
#31587C 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) | #49597E | 0.030 |
| Deuteranopia (no green cones) | #3F527B | 0.022 |
| Tritanopia (no blue cones) | #006065 | 0.060 |
| Achromatopsia (no color) | #555555 | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31587C
#31587C
oklch(44.8% 0.074 248)
- #704C23
#704C23
oklch(44.8% 0.074 67.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 #31587C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Navy Blue #2E5A88 ΔE 0.019
- YInMn Blue #415A77 ΔE 0.022
- Deep Sea Blue #015482 ΔE 0.036
- Dusk Blue #26538D ΔE 0.036
- Denim Blue #3B5B92 ΔE 0.039
- Dusk #4E5481 ΔE 0.039
- Light Navy #155084 ΔE 0.040
- Denim #3B638C ΔE 0.041
Use #31587C 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.