#021217

Closest named color: Rich Navy (#001219). oklch(17% 0.026 218.4), rgb(2, 18, 23).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (17%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.10:1
White text19.06:1

Values

HEX#021217
RGBrgb(2, 18, 23)
HSLhsl(194, 84%, 5%)
OKLCHoklch(17% 0.026 218.4)

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 #021217 19.06:1 AAA Lc -107.4 Preferred for body text
Black text on #021217 1.10:1 Fails Lc 0.0 Not readable
#021217 text on white 19.06:1 AAA Lc 105.4 Preferred for body text
#021217 text on black 1.10: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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CDDCE1

    oklch(88.5% 0.018 219.7)

  4. Step 300

    300

    #ABC6CE

    oklch(80.9% 0.031 217.5)

  5. Step 400

    400

    #7EA9B6

    oklch(70.8% 0.05 218.4)

  6. Step 500

    500

    #5B93A4

    oklch(63.1% 0.064 219.2)

  7. Step 600

    600

    #3F7D8F

    oklch(55.6% 0.07 219.2)

  8. Step 700

    700

    #306A79

    oklch(49.2% 0.065 217.2)

  9. Step 800

    800

    #295663

    oklch(42.7% 0.054 219.1)

  10. Step 900

    900

    #264750

    oklch(37.7% 0.042 217.4)

  11. Step 950

    950 (this color)

    #021217

    oklch(17% 0.026 218.4)

Export this scale for Tailwind in the Tailwind colors tool

#021217 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)#0F11170.023
Deuteranopia (no green cones)#0B0F170.019
Tritanopia (no blue cones)#0014140.012
Achromatopsia (no color)#1010100.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #021217

    #021217

    oklch(17% 0.026 218.4)

  • #190B07

    #190B07

    oklch(16.9% 0.026 37.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021217

    #021217

    oklch(17% 0.026 218.4)

  • #021312

    #021312

    oklch(17% 0.026 190.4)

  • #06101A

    #06101A

    oklch(16.9% 0.026 248.3)

Open the analogous palette in the generator

Split complementary

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

  • #021217

    #021217

    oklch(17% 0.026 218.4)

  • #190A0D

    #190A0D

    oklch(16.9% 0.027 7.5)

  • #170D04

    #170D04

    oklch(17% 0.026 66.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021217

    #021217

    oklch(17% 0.026 218.4)

  • #170B13

    #170B13

    oklch(17.1% 0.026 340.1)

  • #120F03

    #120F03

    oklch(16.8% 0.026 97.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021217

    #021217

    oklch(17% 0.026 218.4)

  • #130C18

    #130C18

    oklch(17% 0.027 310.4)

  • #190B07

    #190B07

    oklch(16.9% 0.026 37.9)

  • #0C1205

    #0C1205

    oklch(17.1% 0.028 128.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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