#021817

Closest named color: Rich Navy (#001219). oklch(19% 0.03 191), rgb(2, 24, 23).

Aa

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

About this color

#021817 is a very dark close to neutral grey. In OKLCH its lightness is 19%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.027 away. White text reads best on it, at 18.33:1.

Hue familyNeutrals
Lightnessvery dark (19%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.14:1
White text18.33:1

Values

HEX#021817
RGBrgb(2, 24, 23)
HSLhsl(177, 85%, 5%)
OKLCHoklch(19% 0.03 191)

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 #021817 18.33:1 AAA Lc -107.0 Preferred for body text
Black text on #021817 1.14:1 Fails Lc 0.0 Not readable
#021817 text on white 18.33:1 AAA Lc 104.9 Preferred for body text
#021817 text on black 1.14: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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEB

    oklch(93.6% 0.01 189.1)

  3. Step 200

    200

    #CBDDDC

    oklch(88.4% 0.019 192.8)

  4. Step 300

    300

    #A8C8C6

    oklch(80.9% 0.034 191.8)

  5. Step 400

    400

    #77ACA9

    oklch(70.7% 0.056 191.5)

  6. Step 500

    500

    #519894

    oklch(63.2% 0.072 190.7)

  7. Step 600

    600

    #30827E

    oklch(55.6% 0.079 190.6)

  8. Step 700

    700

    #226E6B

    oklch(49.2% 0.073 191.3)

  9. Step 800

    800

    #1F5957

    oklch(42.6% 0.059 192)

  10. Step 900

    900

    #204A47

    oklch(37.8% 0.047 189.2)

  11. Step 950

    950 (this color)

    #021817

    oklch(19% 0.03 191)

Export this scale for Tailwind in the Tailwind colors tool

#021817 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)#1616170.032
Deuteranopia (no green cones)#1213170.030
Tritanopia (no blue cones)#0019180.004
Achromatopsia (no color)#1515150.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #021817

    #021817

    oklch(19% 0.03 191)

  • #1F0E10

    #1F0E10

    oklch(19% 0.029 12.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021817

    #021817

    oklch(19% 0.03 191)

  • #07180F

    #07180F

    oklch(19.1% 0.03 159)

  • #03171D

    #03171D

    oklch(19.1% 0.03 219.4)

Open the analogous palette in the generator

Split complementary

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

  • #021817

    #021817

    oklch(19% 0.03 191)

  • #1D0E18

    #1D0E18

    oklch(19% 0.031 340.3)

  • #1F0F09

    #1F0F09

    oklch(19% 0.03 41.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021817

    #021817

    oklch(19% 0.03 191)

  • #18101E

    #18101E

    oklch(19.1% 0.03 309.9)

  • #1C1105

    #1C1105

    oklch(18.9% 0.029 69)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021817

    #021817

    oklch(19% 0.03 191)

  • #111221

    #111221

    oklch(18.9% 0.03 280.1)

  • #1F0E10

    #1F0E10

    oklch(19% 0.029 12.6)

  • #171404

    #171404

    oklch(19% 0.03 99.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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