#050208

Closest named color: Almost Black (#070D0D). oklch(10% 0.024 310.2), rgb(5, 2, 8).

Aa

White text reads best on this color (20.61:1).

About this color

#050208 is a very dark close to neutral grey. In OKLCH its lightness is 10%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.060 away. White text reads best on it, at 20.61:1.

Hue familyNeutrals
Lightnessvery dark (10%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.01:1
White text20.61:1

Values

HEX#050208
RGBrgb(5, 2, 8)
HSLhsl(270, 60%, 2%)
OKLCHoklch(10% 0.024 310.2)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #050208 20.61:1 AAA Lc -107.9 Preferred for body text
Black text on #050208 1.01:1 Fails Lc 0.0 Not readable
#050208 text on white 20.61:1 AAA Lc 106.0 Preferred for body text
#050208 text on black 1.01: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.

  1. Step 50

    50

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE8EE

    oklch(93.5% 0.009 308.4)

  3. Step 200

    200

    #DCD6E1

    oklch(88.4% 0.016 310.1)

  4. Step 300

    300

    #C6BCCF

    oklch(80.9% 0.028 309.2)

  5. Step 400

    400

    #A999B6

    oklch(70.6% 0.045 309.9)

  6. Step 500

    500

    #9480A4

    oklch(63.1% 0.058 309.8)

  7. Step 600

    600

    #7F698F

    oklch(55.6% 0.063 310.6)

  8. Step 700

    700

    #6B587A

    oklch(49.2% 0.058 309.7)

  9. Step 800

    800

    #574863

    oklch(42.8% 0.048 309.6)

  10. Step 900

    900

    #483C51

    oklch(37.7% 0.038 310.4)

  11. Step 950

    950 (this color)

    #050208

    oklch(10% 0.024 310.2)

Export this scale for Tailwind in the Tailwind colors tool

#050208 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0103080.020
Deuteranopia (no green cones)#0203080.015
Tritanopia (no blue cones)#0503040.018
Achromatopsia (no color)#0303030.024

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #050208

    #050208

    oklch(10% 0.024 310.2)

  • #020400

    #020400

    oklch(9.8% 0.025 126.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050208

    #050208

    oklch(10% 0.024 310.2)

  • #03030A

    #03030A

    oklch(10.4% 0.022 281.8)

  • #070205

    #070205

    oklch(10.2% 0.02 340.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #050208

    #050208

    oklch(10% 0.024 310.2)

  • #040300

    #040300

    oklch(9.7% 0.02 99.3)

  • #000502

    #000502

    oklch(10.1% 0.023 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #050208

    #050208

    oklch(10% 0.024 310.2)

  • #070200

    #070200

    oklch(9.8% 0.023 60.9)

  • #000504

    #000504

    oklch(10.3% 0.018 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050208

    #050208

    oklch(10% 0.024 310.2)

  • #090201

    #090201

    oklch(10.4% 0.023 36.9)

  • #020400

    #020400

    oklch(9.8% 0.025 126.6)

  • #000406

    #000406

    oklch(9.9% 0.018 218.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #050208, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #050208 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.