#020416

Closest named color: Midnight (#03012D). oklch(11.9% 0.044 269.5), rgb(2, 4, 22).

Aa

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

About this color

#020416 is a very dark, muted blue. In OKLCH its lightness is 12%, its chroma 0.044 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.050 away. White text reads best on it, at 20.35:1.

Hue familyBlues
Lightnessvery dark (12%)
Chromamuted (0.044)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.35:1

Values

HEX#020416
RGBrgb(2, 4, 22)
HSLhsl(234, 83%, 5%)
OKLCHoklch(11.9% 0.044 269.5)

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 #020416 20.35:1 AAA Lc -107.8 Preferred for body text
Black text on #020416 1.03:1 Fails Lc 0.0 Not readable
#020416 text on white 20.35:1 AAA Lc 105.9 Preferred for body text
#020416 text on black 1.03: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D1D9ED

    oklch(88.5% 0.029 268.3)

  4. Step 300

    300

    #B3C0E3

    oklch(80.9% 0.052 269.2)

  5. Step 400

    400

    #8C9FD5

    oklch(70.8% 0.082 269.3)

  6. Step 500

    500

    #7086CA

    oklch(63.1% 0.106 269.6)

  7. Step 600

    600

    #586FB7

    oklch(55.7% 0.115 269.1)

  8. Step 700

    700

    #485C9E

    oklch(49.1% 0.109 269.4)

  9. Step 800

    800

    #3C4C80

    oklch(42.9% 0.089 269.5)

  10. Step 900

    900

    #333F67

    oklch(37.7% 0.07 270.1)

  11. Step 950

    950 (this color)

    #020416

    oklch(11.9% 0.044 269.5)

Export this scale for Tailwind in the Tailwind colors tool

#020416 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)#0006170.012
Deuteranopia (no green cones)#0005160.009
Tritanopia (no blue cones)#00070B0.034
Achromatopsia (no color)#0505050.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #020416

    #020416

    oklch(11.9% 0.044 269.5)

  • #090500

    #090500

    oklch(11.9% 0.024 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020416

    #020416

    oklch(11.9% 0.044 269.5)

  • #00060E

    #00060E

    oklch(11.7% 0.027 241)

  • #080213

    #080213

    oklch(11.8% 0.045 301)

Open the analogous palette in the generator

Split complementary

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

  • #020416

    #020416

    oklch(11.9% 0.044 269.5)

  • #0D0400

    #0D0400

    oklch(12.2% 0.028 62.7)

  • #050700

    #050700

    oklch(12.1% 0.029 119.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020416

    #020416

    oklch(11.9% 0.044 269.5)

  • #120100

    #120100

    oklch(11.9% 0.043 34.4)

  • #000801

    #000801

    oklch(11.7% 0.035 147.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020416

    #020416

    oklch(11.9% 0.044 269.5)

  • #110105

    #110105

    oklch(12% 0.041 1.3)

  • #090500

    #090500

    oklch(11.9% 0.024 86.8)

  • #000806

    #000806

    oklch(12% 0.022 179.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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