#17212E

Closest named color: Dark (#1B2431). oklch(24.5% 0.029 255.2), rgb(23, 33, 46).

Aa

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

About this color

#17212E is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.013 away. White text reads best on it, at 16.23:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.29:1
White text16.23:1

Values

HEX#17212E
RGBrgb(23, 33, 46)
HSLhsl(214, 33%, 14%)
OKLCHoklch(24.5% 0.029 255.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 #17212E 16.23:1 AAA Lc -105.7 Preferred for body text
Black text on #17212E 1.29:1 Fails Lc 0.0 Not readable
#17212E text on white 16.23:1 AAA Lc 103.2 Preferred for body text
#17212E text on black 1.29: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D1DAE6

    oklch(88.5% 0.019 255.5)

  4. Step 300

    300

    #B2C2D7

    oklch(80.9% 0.035 255.2)

  5. Step 400

    400

    #8AA3C3

    oklch(70.8% 0.055 254.7)

  6. Step 500

    500

    #6D8CB4

    oklch(63.2% 0.07 255)

  7. Step 600

    600

    #55759F

    oklch(55.5% 0.076 255.5)

  8. Step 700

    700

    #456288

    oklch(49% 0.07 255.5)

  9. Step 800

    800

    #39506F

    oklch(42.6% 0.059 256.1)

  10. Step 900

    900

    #31435A

    oklch(37.8% 0.046 254.9)

  11. Step 950

    950 (this color)

    #17212E

    oklch(24.5% 0.029 255.2)

Export this scale for Tailwind in the Tailwind colors tool

#17212E 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)#1C222F0.009
Deuteranopia (no green cones)#191F2E0.007
Tritanopia (no blue cones)#0F24250.026
Achromatopsia (no color)#2020200.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #17212E

    #17212E

    oklch(24.5% 0.029 255.2)

  • #281E10

    #281E10

    oklch(24.3% 0.029 75.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #17212E

    #17212E

    oklch(24.5% 0.029 255.2)

  • #10232B

    #10232B

    oklch(24.4% 0.029 227.2)

  • #1F1E2E

    #1F1E2E

    oklch(24.4% 0.03 286.8)

Open the analogous palette in the generator

Split complementary

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

  • #17212E

    #17212E

    oklch(24.5% 0.029 255.2)

  • #2C1C15

    #2C1C15

    oklch(24.5% 0.029 44.5)

  • #222111

    #222111

    oklch(24.4% 0.028 105.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #17212E

    #17212E

    oklch(24.5% 0.029 255.2)

  • #2D1B1C

    #2D1B1C

    oklch(24.6% 0.029 15.7)

  • #1A2416

    #1A2416

    oklch(24.6% 0.029 137)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #17212E

    #17212E

    oklch(24.5% 0.029 255.2)

  • #2A1B23

    #2A1B23

    oklch(24.4% 0.027 346.1)

  • #281E10

    #281E10

    oklch(24.3% 0.029 75.1)

  • #12251D

    #12251D

    oklch(24.5% 0.03 165.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #17212E 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.