#020512
Closest named color: Almost Black (#070D0D). oklch(11.9% 0.033 265.1), rgb(2, 5, 18).
Aa
White text reads best on this color (20.32:1).
About this color
#020512 is a very dark, muted blue. In OKLCH its lightness is 12%, its chroma 0.033 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.045 away. White text reads best on it, at 20.32:1.
| Hue family | Blues |
| Lightness | very dark (12%) |
| Chroma | muted (0.033) |
| Temperature | cool |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.03:1 |
| White text | 20.32:1 |
Values
| HEX | #020512 |
| RGB | rgb(2, 5, 18) |
| HSL | hsl(229, 80%, 4%) |
| OKLCH | oklch(11.9% 0.033 265.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 #020512 | 20.32:1 | AAA | Lc -107.8 | Preferred for body text |
| Black text on #020512 | 1.03:1 | Fails | Lc 0.0 | Not readable |
| #020512 text on white | 20.32:1 | AAA | Lc 106.0 | Preferred for body text |
| #020512 text on black | 1.03: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
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E6EAF2
oklch(93.6% 0.012 264.5)
-
Step 200
200
#D2D9E8
oklch(88.4% 0.022 265.8)
-
Step 300
300
#B4C1DB
oklch(80.9% 0.039 264.3)
-
Step 400
400
#8EA0C9
oklch(70.6% 0.064 266.3)
-
Step 500
500
#7289BB
oklch(63.2% 0.08 265.1)
-
Step 600
600
#5A72A7
oklch(55.6% 0.088 265.1)
-
Step 700
700
#4A5F8F
oklch(49% 0.082 265.5)
-
Step 800
800
#3D4E74
oklch(42.7% 0.067 265.3)
-
Step 900
900
#34415E
oklch(37.7% 0.053 265.4)
-
Step 950
950 (this color)
#020512
oklch(11.9% 0.033 265.1)
#020512 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) | #010613 | 0.006 |
| Deuteranopia (no green cones) | #000512 | 0.009 |
| Tritanopia (no blue cones) | #00070A | 0.025 |
| Achromatopsia (no color) | #050505 | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #020512
#020512
oklch(11.9% 0.033 265.1)
- #090500
#090500
oklch(11.9% 0.024 86.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 #020512, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.045
- Rich Navy #001219 ΔE 0.055
- Midnight #03012D ΔE 0.059
- Dark Navy Blue #00022E ΔE 0.061
- Very Dark Blue #000133 ΔE 0.071
- Dark Navy #000435 ΔE 0.074
- Very Dark Brown #1D0200 ΔE 0.085
- Rich Black #0D1B2A ΔE 0.099
Use #020512 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.