#031C3B
Closest named color: Rich Black (#0D1B2A). oklch(22.8% 0.068 255.1), rgb(3, 28, 59).
Aa
White text reads best on this color (17.02:1).
About this color
#031C3B is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.068 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.034 away. White text reads best on it, at 17.02:1.
| Hue family | Blues |
| Lightness | very dark (23%) |
| Chroma | muted (0.068) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.23:1 |
| White text | 17.02:1 |
Values
| HEX | #031C3B |
| RGB | rgb(3, 28, 59) |
| HSL | hsl(213, 90%, 12%) |
| OKLCH | oklch(22.8% 0.068 255.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 #031C3B | 17.02:1 | AAA | Lc -106.1 | Preferred for body text |
| Black text on #031C3B | 1.23:1 | Fails | Lc 0.0 | Not readable |
| #031C3B text on white | 17.02:1 | AAA | Lc 103.7 | Preferred for body text |
| #031C3B text on black | 1.23: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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E0EBFA
oklch(93.6% 0.024 256.1)
-
Step 200
200
#C6DBF7
oklch(88.5% 0.045 255.6)
-
Step 300
300
#9EC4F4
oklch(81% 0.08 254.5)
-
Step 400
400
#67A3EF
oklch(70.7% 0.128 255)
-
Step 500
500
#3A8AE9
oklch(63.1% 0.163 254.8)
-
Step 600
600
#0D71D8
oklch(55.6% 0.178 255.2)
-
Step 700
700
#005EB9
oklch(49% 0.162 255.1)
-
Step 800
800
#054D97
oklch(42.6% 0.137 255.1)
-
Step 900
900
#124178
oklch(37.6% 0.106 255.1)
-
Step 950
950 (this color)
#031C3B
oklch(22.8% 0.068 255.1)
#031C3B 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) | #0B1F3C | 0.015 |
| Deuteranopia (no green cones) | #011A3A | 0.008 |
| Tritanopia (no blue cones) | #002328 | 0.050 |
| Achromatopsia (no color) | #1C1C1C | 0.068 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #031C3B
#031C3B
oklch(22.8% 0.068 255.1)
- #291900
#291900
oklch(22.9% 0.048 76.8)
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 #031C3B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.034
- Navy Blue #001146 ΔE 0.040
- Oxford Blue #1B263B ΔE 0.049
- Dark #1B2431 ΔE 0.050
- Night Blue #040348 ΔE 0.067
- Jet #212529 ΔE 0.068
- Dark Indigo #1F0954 ΔE 0.073
- Rich Navy #001219 ΔE 0.074
Use #031C3B 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.