#050802
Closest named color: Almost Black (#070D0D). oklch(12.7% 0.021 127.3), rgb(5, 8, 2).
Aa
White text reads best on this color (20.15:1).
About this color
#050802 is a very dark close to neutral grey. In OKLCH its lightness is 13%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.032 away. White text reads best on it, at 20.15:1.
| Hue family | Neutrals |
| Lightness | very dark (13%) |
| Chroma | close to neutral grey (0.021) |
| Temperature | neutral |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.04:1 |
| White text | 20.15:1 |
Values
| HEX | #050802 |
| RGB | rgb(5, 8, 2) |
| HSL | hsl(90, 60%, 2%) |
| OKLCH | oklch(12.7% 0.021 127.3) |
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 #050802 | 20.15:1 | AAA | Lc -107.8 | Preferred for body text |
| Black text on #050802 | 1.04:1 | Fails | Lc 0.0 | Not readable |
| #050802 text on white | 20.15:1 | AAA | Lc 106.0 | Preferred for body text |
| #050802 text on black | 1.04: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
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#E8EBE6
oklch(93.6% 0.007 132.4)
-
Step 200
200
#D6DBD1
oklch(88.5% 0.015 128.6)
-
Step 300
300
#BCC4B3
oklch(80.9% 0.025 127.7)
-
Step 400
400
#9AA68B
oklch(70.8% 0.041 127)
-
Step 500
500
#81906F
oklch(63.2% 0.051 127.7)
-
Step 600
600
#6A7A57
oklch(55.7% 0.055 128.1)
-
Step 700
700
#596647
oklch(49% 0.05 126.6)
-
Step 800
800
#49543A
oklch(42.9% 0.043 126.8)
-
Step 900
900
#3D4532
oklch(37.7% 0.033 126.5)
-
Step 950
950 (this color)
#050802
oklch(12.7% 0.021 127.3)
#050802 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) | #090702 | 0.011 |
| Deuteranopia (no green cones) | #080702 | 0.009 |
| Tritanopia (no blue cones) | #050706 | 0.017 |
| Achromatopsia (no color) | #070707 | 0.021 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #050802
#050802
oklch(12.7% 0.021 127.3)
- #09050D
#09050D
oklch(12.7% 0.021 309)
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 #050802, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.032
- Rich Navy #001219 ΔE 0.058
- Very Dark Brown #1D0200 ΔE 0.064
- Rich Black #0D1B2A ΔE 0.104
- Midnight #03012D ΔE 0.107
- Dark Navy Blue #00022E ΔE 0.107
- Dark Navy #000435 ΔE 0.116
- Very Dark Blue #000133 ΔE 0.117
Use #050802 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.