#31597A
Closest named color: YInMn Blue (#415A77). oklch(45% 0.071 245.2), rgb(49, 89, 122).
Aa
White text reads best on this color (7.39:1).
About this color
#31597A is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.071 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.019 away. White text reads best on it, at 7.39:1.
| Hue family | Blues |
| Lightness | dark (45%) |
| Chroma | moderately saturated (0.071) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.84:1 |
| White text | 7.39:1 |
Values
| HEX | #31597A |
| RGB | rgb(49, 89, 122) |
| HSL | hsl(207, 43%, 34%) |
| OKLCH | oklch(45% 0.071 245.2) |
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 #31597A | 7.39:1 | AAA | Lc -90.4 | Preferred for body text |
| Black text on #31597A | 2.84:1 | Fails | Lc 18.5 | Dividers and decoration only |
| #31597A text on white | 7.39:1 | AAA | Lc 85.5 | Fine for body text |
| #31597A 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
#E4EBF1
oklch(93.6% 0.011 243.7)
-
Step 200
200
#CDDBE8
oklch(88.5% 0.023 246.1)
-
Step 300
300
#ABC4DA
oklch(80.9% 0.041 244.9)
-
Step 400
400
#7EA5C8
oklch(70.6% 0.067 246)
-
Step 500
500
#5C8FBA
oklch(63.1% 0.085 245.2)
-
Step 600
600
#4178A6
oklch(55.5% 0.093 245.8)
-
Step 700
700
#33658E
oklch(49.1% 0.085 245.5)
-
Step 800
800 (this color)
#31597A
oklch(45% 0.071 245.2)
-
Step 900
900
#27455D
oklch(37.8% 0.055 244.1)
-
Step 950
950
#172836
oklch(26.9% 0.035 244.4)
#31597A 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) | #4B5A7C | 0.033 |
| Deuteranopia (no green cones) | #415279 | 0.026 |
| Tritanopia (no blue cones) | #006164 | 0.058 |
| Achromatopsia (no color) | #565656 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31597A
#31597A
oklch(45% 0.071 245.2)
- #704D28
#704D28
oklch(45% 0.07 65.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 #31597A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- YInMn Blue #415A77 ΔE 0.019
- Light Navy Blue #2E5A88 ΔE 0.023
- Deep Sea Blue #015482 ΔE 0.038
- Denim #3B638C ΔE 0.041
- Dusk Blue #26538D ΔE 0.041
- Dusk #4E5481 ΔE 0.041
- Denim Blue #3B5B92 ΔE 0.042
- Light Navy #155084 ΔE 0.044
Use #31597A 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.