#031C39
Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.064 253.8), rgb(3, 28, 57).
Aa
White text reads best on this color (17.08:1).
About this color
#031C39 is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.064 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.030 away. White text reads best on it, at 17.08:1.
| Hue family | Blues |
| Lightness | very dark (23%) |
| Chroma | muted (0.064) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.22:1 |
| White text | 17.08:1 |
Values
| HEX | #031C39 |
| RGB | rgb(3, 28, 57) |
| HSL | hsl(212, 90%, 12%) |
| OKLCH | oklch(22.6% 0.064 253.8) |
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 #031C39 | 17.08:1 | AAA | Lc -106.1 | Preferred for body text |
| Black text on #031C39 | 1.22:1 | Fails | Lc 0.0 | Not readable |
| #031C39 text on white | 17.08:1 | AAA | Lc 103.7 | Preferred for body text |
| #031C39 text on black | 1.22:1 | Fails | Lc 0.0 | 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 950.
-
Step 50
50
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#E0EBF9
oklch(93.6% 0.022 254.4)
-
Step 200
200
#C6DBF5
oklch(88.4% 0.042 253.8)
-
Step 300
300
#9FC4F1
oklch(80.9% 0.075 253.6)
-
Step 400
400
#68A4EB
oklch(70.8% 0.122 253.5)
-
Step 500
500
#3C8BE5
oklch(63.2% 0.156 253.9)
-
Step 600
600
#0F73D3
oklch(55.7% 0.169 253.7)
-
Step 700
700
#0060B5
oklch(49.2% 0.155 253.6)
-
Step 800
800
#074E94
oklch(42.6% 0.131 254.1)
-
Step 900
900
#134276
oklch(37.8% 0.102 254)
-
Step 950
950 (this color)
#031C39
oklch(22.6% 0.064 253.8)
#031C39 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) | #0D1E3A | 0.014 |
| Deuteranopia (no green cones) | #031938 | 0.010 |
| Tritanopia (no blue cones) | #002327 | 0.049 |
| Achromatopsia (no color) | #1C1C1C | 0.064 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #031C39
#031C39
oklch(22.6% 0.064 253.8)
- #291800
#291800
oklch(22.6% 0.048 74.2)
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 #031C39, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.030
- Navy Blue #001146 ΔE 0.043
- Dark #1B2431 ΔE 0.048
- Oxford Blue #1B263B ΔE 0.049
- Jet #212529 ΔE 0.066
- Night Blue #040348 ΔE 0.069
- Rich Navy #001219 ΔE 0.070
- Dark Navy #000435 ΔE 0.075
Use #031C39 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.