#020716

Closest named color: Almost Black (#070D0D). oklch(13.2% 0.036 261.2), rgb(2, 7, 22).

Aa

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

About this color

#020716 is a very dark, muted blue. In OKLCH its lightness is 13%, its chroma 0.036 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.039 away. White text reads best on it, at 20.10:1.

Hue familyBlues
Lightnessvery dark (13%)
Chromamuted (0.036)
Temperaturecool
Nearest nameAlmost Black (#070D0D)
Black text1.04:1
White text20.10:1

Values

HEX#020716
RGBrgb(2, 7, 22)
HSLhsl(225, 83%, 5%)
OKLCHoklch(13.2% 0.036 261.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 #020716 20.10:1 AAA Lc -107.8 Preferred for body text
Black text on #020716 1.04:1 Fails Lc 0.0 Not readable
#020716 text on white 20.10:1 AAA Lc 105.9 Preferred for body text
#020716 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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE9

    oklch(88.5% 0.023 258.4)

  4. Step 300

    300

    #B1C1DD

    oklch(80.8% 0.043 261.7)

  5. Step 400

    400

    #89A1CC

    oklch(70.6% 0.069 261.9)

  6. Step 500

    500

    #6B8ABF

    oklch(63.1% 0.088 260.8)

  7. Step 600

    600

    #5373AB

    oklch(55.6% 0.095 261.1)

  8. Step 700

    700

    #436093

    oklch(49% 0.089 261.1)

  9. Step 800

    800

    #384F77

    oklch(42.8% 0.073 261)

  10. Step 900

    900

    #304260

    oklch(37.8% 0.057 260.3)

  11. Step 950

    950 (this color)

    #020716

    oklch(13.2% 0.036 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#020716 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)#0208170.005
Deuteranopia (no green cones)#0107160.003
Tritanopia (no blue cones)#000A0D0.028
Achromatopsia (no color)#0707070.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #020716

    #020716

    oklch(13.2% 0.036 261.2)

  • #0D0600

    #0D0600

    oklch(13% 0.027 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020716

    #020716

    oklch(13.2% 0.036 261.2)

  • #000910

    #000910

    oklch(13.1% 0.026 231.1)

  • #080515

    #080515

    oklch(13.2% 0.037 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #020716

    #020716

    oklch(13.2% 0.036 261.2)

  • #120400

    #120400

    oklch(13.2% 0.034 51.2)

  • #080800

    #080800

    oklch(13% 0.028 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020716

    #020716

    oklch(13.2% 0.036 261.2)

  • #130303

    #130303

    oklch(13.2% 0.034 23)

  • #020B01

    #020B01

    oklch(13.3% 0.036 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020716

    #020716

    oklch(13.2% 0.036 261.2)

  • #120309

    #120309

    oklch(13.3% 0.035 352.8)

  • #0D0600

    #0D0600

    oklch(13% 0.027 78.1)

  • #000B06

    #000B06

    oklch(13.3% 0.027 167.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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