#020C2F
Closest named color: Dark Navy (#000435). oklch(17.3% 0.072 263.9), rgb(2, 12, 47).
Aa
White text reads best on this color (19.15:1).
About this color
#020C2F is a very dark, moderately saturated blue. In OKLCH its lightness is 17%, its chroma 0.072 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.027 away. White text reads best on it, at 19.15:1.
| Hue family | Blues |
| Lightness | very dark (17%) |
| Chroma | moderately saturated (0.072) |
| Temperature | cool |
| Nearest name | Dark Navy (#000435) |
| Black text | 1.09:1 |
| White text | 19.15:1 |
Values
| HEX | #020C2F |
| RGB | rgb(2, 12, 47) |
| HSL | hsl(227, 92%, 10%) |
| OKLCH | oklch(17.3% 0.072 263.9) |
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 #020C2F | 19.15:1 | AAA | Lc -107.3 | Preferred for body text |
| Black text on #020C2F | 1.09:1 | Fails | Lc 0.0 | Not readable |
| #020C2F text on white | 19.15:1 | AAA | Lc 105.3 | Preferred for body text |
| #020C2F text on black | 1.09: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
#E1EAFB
oklch(93.5% 0.025 263.3)
-
Step 200
200
#C9DAFA
oklch(88.6% 0.048 263.1)
-
Step 300
300
#A4C1F9
oklch(81% 0.086 263.3)
-
Step 400
400
#749EF6
oklch(70.7% 0.137 263.9)
-
Step 500
500
#5183F2
oklch(63.1% 0.175 263.9)
-
Step 600
600
#3769E1
oklch(55.6% 0.191 264.1)
-
Step 700
700
#2A57C3
oklch(49.1% 0.176 263.9)
-
Step 800
800
#23489E
oklch(42.8% 0.147 263.8)
-
Step 900
900
#213D7D
oklch(37.6% 0.114 264)
-
Step 950
950 (this color)
#020C2F
oklch(17.3% 0.072 263.9)
#020C2F 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) | #001130 | 0.015 |
| Deuteranopia (no green cones) | #000D2E | 0.005 |
| Tritanopia (no blue cones) | #00151B | 0.056 |
| Achromatopsia (no color) | #0F0F0F | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #020C2F
#020C2F
oklch(17.3% 0.072 263.9)
- #170E00
#170E00
oklch(17.1% 0.035 83.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 #020C2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Navy #000435 ΔE 0.027
- Dark Navy Blue #00022E ΔE 0.035
- Midnight #03012D ΔE 0.036
- Very Dark Blue #000133 ΔE 0.036
- Navy Blue #001146 ΔE 0.048
- Night Blue #040348 ΔE 0.051
- Rich Navy #001219 ΔE 0.053
- Rich Black #0D1B2A ΔE 0.059
Use #020C2F 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.