#031F1F
Closest named color: Rich Black (#0D1B2A). oklch(21.8% 0.034 195), rgb(3, 31, 31).
Aa
White text reads best on this color (17.21:1).
About this color
#031F1F is a very dark, muted teal or cyan. In OKLCH its lightness is 22%, its chroma 0.034 and its hue 195°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.033 away. White text reads best on it, at 17.21:1.
| Hue family | Teals and cyans |
| Lightness | very dark (22%) |
| Chroma | muted (0.034) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.21:1 |
| White text | 17.21:1 |
Values
| HEX | #031F1F |
| RGB | rgb(3, 31, 31) |
| HSL | hsl(180, 82%, 7%) |
| OKLCH | oklch(21.8% 0.034 195) |
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 #031F1F | 17.21:1 | AAA | Lc -106.3 | Preferred for body text |
| Black text on #031F1F | 1.21:1 | Fails | Lc 0.0 | Not readable |
| #031F1F text on white | 17.21:1 | AAA | Lc 103.9 | Preferred for body text |
| #031F1F 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
#F2F7F6
oklch(97.2% 0.005 183)
-
Step 100
100
#E2ECEC
oklch(93.6% 0.011 197)
-
Step 200
200
#C9DEDD
oklch(88.5% 0.022 193.3)
-
Step 300
300
#A4C9C8
oklch(80.9% 0.039 194.4)
-
Step 400
400
#6FADAD
oklch(70.6% 0.064 195.8)
-
Step 500
500
#449999
oklch(63.1% 0.082 195.3)
-
Step 600
600
#1A8383
oklch(55.5% 0.089 194.9)
-
Step 700
700
#056F6F
oklch(49.1% 0.083 194.8)
-
Step 800
800
#0E5A5B
oklch(42.6% 0.068 196.3)
-
Step 900
900
#174A4A
oklch(37.6% 0.053 195.1)
-
Step 950
950 (this color)
#031F1F
oklch(21.8% 0.034 195)
#031F1F 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) | #1C1D1F | 0.035 |
| Deuteranopia (no green cones) | #181A1F | 0.032 |
| Tritanopia (no blue cones) | #00201F | 0.005 |
| Achromatopsia (no color) | #1B1B1B | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #031F1F
#031F1F
oklch(21.8% 0.034 195)
- #281315
#281315
oklch(21.8% 0.035 14.3)
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 #031F1F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.033
- Dark #1B2431 ΔE 0.051
- Rich Navy #001219 ΔE 0.052
- Jet #212529 ΔE 0.053
- Oxford Blue #1B263B ΔE 0.067
- Almost Black #070D0D ΔE 0.070
- Dark Forest Green #002D04 ΔE 0.078
- Very Dark Green #062E03 ΔE 0.082
Use #031F1F 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.