#081821

Closest named color: Rich Black (#0D1B2A). oklch(20% 0.028 235.1), rgb(8, 24, 33).

Aa

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

About this color

#081821 is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.021 away. White text reads best on it, at 18.05:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.05:1

Values

HEX#081821
RGBrgb(8, 24, 33)
HSLhsl(202, 61%, 8%)
OKLCHoklch(20% 0.028 235.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #081821 18.05:1 AAA Lc -106.9 Preferred for body text
Black text on #081821 1.16:1 Fails Lc 0.0 Not readable
#081821 text on white 18.05:1 AAA Lc 104.7 Preferred for body text
#081821 text on black 1.16: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CEDBE4

    oklch(88.4% 0.019 237.8)

  4. Step 300

    300

    #ADC5D4

    oklch(81% 0.034 235.3)

  5. Step 400

    400

    #80A7BE

    oklch(70.8% 0.054 234.4)

  6. Step 500

    500

    #5F90AD

    oklch(63% 0.069 235.4)

  7. Step 600

    600

    #447A99

    oklch(55.5% 0.075 235.5)

  8. Step 700

    700

    #366783

    oklch(49.2% 0.07 235.6)

  9. Step 800

    800

    #2D546A

    oklch(42.7% 0.057 235)

  10. Step 900

    900

    #294556

    oklch(37.6% 0.045 236.3)

  11. Step 950

    950 (this color)

    #081821

    oklch(20% 0.028 235.1)

Export this scale for Tailwind in the Tailwind colors tool

#081821 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)#1418210.018
Deuteranopia (no green cones)#1015210.015
Tritanopia (no blue cones)#001A1B0.020
Achromatopsia (no color)#1616160.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #081821

    #081821

    oklch(20% 0.028 235.1)

  • #201209

    #201209

    oklch(19.9% 0.029 53.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #081821

    #081821

    oklch(20% 0.028 235.1)

  • #041A1C

    #041A1C

    oklch(20.1% 0.029 203.1)

  • #101623

    #101623

    oklch(20.1% 0.028 265)

Open the analogous palette in the generator

Split complementary

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

  • #081821

    #081821

    oklch(20% 0.028 235.1)

  • #21110F

    #21110F

    oklch(20% 0.027 27.5)

  • #1C1506

    #1C1506

    oklch(20% 0.029 85.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #081821

    #081821

    oklch(20% 0.028 235.1)

  • #201017

    #201017

    oklch(19.9% 0.029 352.3)

  • #151808

    #151808

    oklch(20.1% 0.03 117.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #081821

    #081821

    oklch(20% 0.028 235.1)

  • #1D111D

    #1D111D

    oklch(19.9% 0.03 326.6)

  • #201209

    #201209

    oklch(19.9% 0.029 53.2)

  • #0E190E

    #0E190E

    oklch(19.9% 0.027 144.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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