#020816

Closest named color: Almost Black (#070D0D). oklch(13.5% 0.034 258.1), rgb(2, 8, 22).

Aa

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

About this color

#020816 is a very dark, muted blue. In OKLCH its lightness is 14%, its chroma 0.034 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.035 away. White text reads best on it, at 20.02:1.

Hue familyBlues
Lightnessvery dark (14%)
Chromamuted (0.034)
Temperaturecool
Nearest nameAlmost Black (#070D0D)
Black text1.04:1
White text20.02:1

Values

HEX#020816
RGBrgb(2, 8, 22)
HSLhsl(222, 83%, 5%)
OKLCHoklch(13.5% 0.034 258.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 #020816 20.02:1 AAA Lc -107.8 Preferred for body text
Black text on #020816 1.04:1 Fails Lc 0.0 Not readable
#020816 text on white 20.02:1 AAA Lc 105.9 Preferred for body text
#020816 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.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE8

    oklch(88.5% 0.022 256.7)

  4. Step 300

    300

    #B1C2DB

    oklch(80.9% 0.04 257.9)

  5. Step 400

    400

    #88A2CA

    oklch(70.7% 0.066 258.9)

  6. Step 500

    500

    #6A8BBC

    oklch(63.1% 0.083 258.1)

  7. Step 600

    600

    #5174A8

    oklch(55.5% 0.091 258.1)

  8. Step 700

    700

    #426190

    oklch(49% 0.084 258.5)

  9. Step 800

    800

    #365075

    oklch(42.8% 0.07 257.2)

  10. Step 900

    900

    #2F425E

    oklch(37.6% 0.054 257.9)

  11. Step 950

    950 (this color)

    #020816

    oklch(13.5% 0.034 258.1)

Export this scale for Tailwind in the Tailwind colors tool

#020816 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)#0309170.006
Deuteranopia (no green cones)#0207160.005
Tritanopia (no blue cones)#000B0D0.027
Achromatopsia (no color)#0808080.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #020816

    #020816

    oklch(13.5% 0.034 258.1)

  • #0E0700

    #0E0700

    oklch(13.6% 0.028 80.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020816

    #020816

    oklch(13.5% 0.034 258.1)

  • #000A11

    #000A11

    oklch(13.6% 0.027 229.8)

  • #080615

    #080615

    oklch(13.6% 0.034 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #020816

    #020816

    oklch(13.5% 0.034 258.1)

  • #130400

    #130400

    oklch(13.4% 0.036 49.6)

  • #090900

    #090900

    oklch(13.5% 0.029 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020816

    #020816

    oklch(13.5% 0.034 258.1)

  • #140304

    #140304

    oklch(13.5% 0.036 17.7)

  • #030B01

    #030B01

    oklch(13.5% 0.034 136.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020816

    #020816

    oklch(13.5% 0.034 258.1)

  • #12030B

    #12030B

    oklch(13.4% 0.037 346.2)

  • #0E0700

    #0E0700

    oklch(13.6% 0.028 80.9)

  • #000C06

    #000C06

    oklch(13.7% 0.029 165.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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