#031B36
Closest named color: Rich Black (#0D1B2A). oklch(22.1% 0.061 253.1), rgb(3, 27, 54).
Aa
White text reads best on this color (17.29:1).
About this color
#031B36 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.061 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.026 away. White text reads best on it, at 17.29:1.
| Hue family | Blues |
| Lightness | very dark (22%) |
| Chroma | muted (0.061) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.21:1 |
| White text | 17.29:1 |
Values
| HEX | #031B36 |
| RGB | rgb(3, 27, 54) |
| HSL | hsl(212, 89%, 11%) |
| OKLCH | oklch(22.1% 0.061 253.1) |
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 #031B36 | 17.29:1 | AAA | Lc -106.3 | Preferred for body text |
| Black text on #031B36 | 1.21:1 | Fails | Lc 0.0 | Not readable |
| #031B36 text on white | 17.29:1 | AAA | Lc 103.9 | Preferred for body text |
| #031B36 text on black | 1.21: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
#E0EBF8
oklch(93.6% 0.021 252.5)
-
Step 200
200
#C7DBF4
oklch(88.4% 0.041 254)
-
Step 300
300
#A0C4EF
oklch(80.9% 0.072 253.1)
-
Step 400
400
#6BA4E7
oklch(70.7% 0.116 253.3)
-
Step 500
500
#3F8CE0
oklch(63.2% 0.148 252.9)
-
Step 600
600
#1874CD
oklch(55.7% 0.159 252.9)
-
Step 700
700
#0561B2
oklch(49.2% 0.149 252.9)
-
Step 800
800
#0D4F90
oklch(42.7% 0.124 253.3)
-
Step 900
900
#154273
oklch(37.6% 0.097 253.4)
-
Step 950
950 (this color)
#031B36
oklch(22.1% 0.061 253.1)
#031B36 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) | #0D1D37 | 0.015 |
| Deuteranopia (no green cones) | #041835 | 0.010 |
| Tritanopia (no blue cones) | #002125 | 0.045 |
| Achromatopsia (no color) | #1B1B1B | 0.061 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #031B36
#031B36
oklch(22.1% 0.061 253.1)
- #281700
#281700
oklch(22.2% 0.047 73.4)
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 #031B36, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.026
- Navy Blue #001146 ΔE 0.045
- Dark #1B2431 ΔE 0.050
- Oxford Blue #1B263B ΔE 0.052
- Rich Navy #001219 ΔE 0.064
- Jet #212529 ΔE 0.066
- Night Blue #040348 ΔE 0.070
- Dark Navy #000435 ΔE 0.072
Use #031B36 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.