#021818

Closest named color: Rich Navy (#001219). oklch(19.1% 0.03 195), rgb(2, 24, 24).

Aa

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

About this color

#021818 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.026 away. White text reads best on it, at 18.31:1.

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

Values

HEX#021818
RGBrgb(2, 24, 24)
HSLhsl(180, 85%, 5%)
OKLCHoklch(19.1% 0.03 195)

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

    #E3ECEC

    oklch(93.6% 0.01 197)

  3. Step 200

    200

    #CBDDDD

    oklch(88.4% 0.019 196.8)

  4. Step 300

    300

    #A7C8C7

    oklch(80.8% 0.035 194.2)

  5. Step 400

    400

    #77ACAB

    oklch(70.7% 0.056 194.5)

  6. Step 500

    500

    #509797

    oklch(63% 0.072 195.5)

  7. Step 600

    600

    #308181

    oklch(55.5% 0.077 195.2)

  8. Step 700

    700

    #216D6D

    oklch(49% 0.072 195.1)

  9. Step 800

    800

    #1E5959

    oklch(42.6% 0.06 195.1)

  10. Step 900

    900

    #1F4949

    oklch(37.6% 0.047 195.3)

  11. Step 950

    950 (this color)

    #021818

    oklch(19.1% 0.03 195)

Export this scale for Tailwind in the Tailwind colors tool

#021818 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)#1616180.032
Deuteranopia (no green cones)#1213180.030
Tritanopia (no blue cones)#0019180.005
Achromatopsia (no color)#1515150.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #021818

    #021818

    oklch(19.1% 0.03 195)

  • #1F0E10

    #1F0E10

    oklch(19% 0.029 12.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021818

    #021818

    oklch(19.1% 0.03 195)

  • #061811

    #061811

    oklch(19.1% 0.029 166.3)

  • #04171E

    #04171E

    oklch(19.2% 0.029 224.1)

Open the analogous palette in the generator

Split complementary

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

  • #021818

    #021818

    oklch(19.1% 0.03 195)

  • #1D0E17

    #1D0E17

    oklch(18.9% 0.03 343.6)

  • #1F1009

    #1F1009

    oklch(19.2% 0.029 45.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021818

    #021818

    oklch(19.1% 0.03 195)

  • #19101D

    #19101D

    oklch(19.1% 0.029 315.1)

  • #1C1205

    #1C1205

    oklch(19.2% 0.029 73.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021818

    #021818

    oklch(19.1% 0.03 195)

  • #131221

    #131221

    oklch(19.2% 0.03 286.2)

  • #1F0E10

    #1F0E10

    oklch(19% 0.029 12.6)

  • #161505

    #161505

    oklch(19.2% 0.03 105.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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