#21262D

Closest named color: Jet (#212529). oklch(26.7% 0.015 256.8), rgb(33, 38, 45).

Aa

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

About this color

#21262D is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.007 away. White text reads best on it, at 15.21:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.21:1

Values

HEX#21262D
RGBrgb(33, 38, 45)
HSLhsl(215, 15%, 15%)
OKLCHoklch(26.7% 0.015 256.8)

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 #21262D 15.21:1 AAA Lc -104.9 Preferred for body text
Black text on #21262D 1.37:1 Fails Lc 0.0 Not readable
#21262D text on white 15.21:1 AAA Lc 102.1 Preferred for body text
#21262D text on black 1.37: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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAED

    oklch(93.6% 0.005 258.3)

  3. Step 200

    200

    #D5D9E0

    oklch(88.4% 0.011 261.8)

  4. Step 300

    300

    #B9C1CC

    oklch(80.8% 0.018 256.3)

  5. Step 400

    400

    #96A2B3

    oklch(70.8% 0.028 257)

  6. Step 500

    500

    #7C8BA0

    oklch(63.2% 0.036 256.8)

  7. Step 600

    600

    #65758B

    oklch(55.7% 0.039 256.4)

  8. Step 700

    700

    #546276

    oklch(49.2% 0.037 257.3)

  9. Step 800

    800

    #445060

    oklch(42.7% 0.031 255.7)

  10. Step 900

    900

    #3A424E

    oklch(37.7% 0.023 258.4)

  11. Step 950

    950 (this color)

    #21262D

    oklch(26.7% 0.015 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#21262D 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)#24262D0.005
Deuteranopia (no green cones)#22252D0.004
Tritanopia (no blue cones)#1E27280.013
Achromatopsia (no color)#2626260.015

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

Use #21262D 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.