#31597B
Closest named color: YInMn Blue (#415A77). oklch(45% 0.072 246), rgb(49, 89, 123).
Aa
White text reads best on this color (7.37:1).
About this color
#31597B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.072 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.020 away. White text reads best on it, at 7.37:1.
| Hue family | Blues |
| Lightness | medium-dark (45%) |
| Chroma | moderately saturated (0.072) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.84:1 |
| White text | 7.37:1 |
Values
| HEX | #31597B |
| RGB | rgb(49, 89, 123) |
| HSL | hsl(208, 43%, 34%) |
| OKLCH | oklch(45% 0.072 246) |
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 #31597B | 7.37:1 | AAA | Lc -90.4 | Preferred for body text |
| Black text on #31597B | 2.84:1 | Fails | Lc 18.5 | Dividers and decoration only |
| #31597B text on white | 7.37:1 | AAA | Lc 85.5 | Fine for body text |
| #31597B text on black | 2.84:1 | Fails | Lc -16.5 | 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
#E3EBF2
oklch(93.6% 0.013 244.3)
-
Step 200
200
#CDDBE8
oklch(88.5% 0.023 246.1)
-
Step 300
300
#ABC4DB
oklch(80.9% 0.042 246.1)
-
Step 400
400
#7EA5C9
oklch(70.7% 0.068 246.8)
-
Step 500
500
#5C8FBB
oklch(63.2% 0.086 245.8)
-
Step 600
600
#4178A7
oklch(55.6% 0.094 246.3)
-
Step 700
700
#32658F
oklch(49.1% 0.087 245.7)
-
Step 800
800 (this color)
#31597B
oklch(45% 0.072 246)
-
Step 900
900
#27445E
oklch(37.6% 0.057 247)
-
Step 950
950
#172837
oklch(26.9% 0.036 246.3)
#31597B 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) | #4A5A7D | 0.031 |
| Deuteranopia (no green cones) | #41527A | 0.026 |
| Tritanopia (no blue cones) | #006165 | 0.058 |
| Achromatopsia (no color) | #565656 | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31597B
#31597B
oklch(45% 0.072 246)
- #704D26
#704D26
oklch(45% 0.072 67.1)
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 #31597B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- YInMn Blue #415A77 ΔE 0.020
- Light Navy Blue #2E5A88 ΔE 0.021
- Deep Sea Blue #015482 ΔE 0.038
- Denim #3B638C ΔE 0.040
- Dusk Blue #26538D ΔE 0.040
- Denim Blue #3B5B92 ΔE 0.040
- Dusk #4E5481 ΔE 0.041
- Light Navy #155084 ΔE 0.043
Use #31597B 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.