#212A2E

Closest named color: Jet (#212529). oklch(27.8% 0.015 226.6), rgb(33, 42, 46).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.43:1
White text14.63:1

Values

HEX#212A2E
RGBrgb(33, 42, 46)
HSLhsl(198, 16%, 15%)
OKLCHoklch(27.8% 0.015 226.6)

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 #212A2E 14.63:1 AAA Lc -104.3 Preferred for body text
Black text on #212A2E 1.43:1 Fails Lc 0.0 Not readable
#212A2E text on white 14.63:1 AAA Lc 101.4 Preferred for body text
#212A2E text on black 1.43: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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAEC

    oklch(93.5% 0.005 228.8)

  3. Step 200

    200

    #D3DADE

    oklch(88.4% 0.009 232.4)

  4. Step 300

    300

    #B6C3C9

    oklch(80.9% 0.017 227)

  5. Step 400

    400

    #8FA5AE

    oklch(70.8% 0.028 224.4)

  6. Step 500

    500

    #738E9A

    oklch(63% 0.036 226.7)

  7. Step 600

    600

    #5C7885

    oklch(55.6% 0.038 228)

  8. Step 700

    700

    #4B6571

    oklch(49.1% 0.036 228)

  9. Step 800

    800

    #3E535C

    oklch(42.8% 0.03 226.1)

  10. Step 900

    900

    #35444B

    oklch(37.6% 0.023 228)

  11. Step 950

    950 (this color)

    #212A2E

    oklch(27.8% 0.015 226.6)

Export this scale for Tailwind in the Tailwind colors tool

#212A2E 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)#28292E0.012
Deuteranopia (no green cones)#26282E0.010
Tritanopia (no blue cones)#1D2B2B0.010
Achromatopsia (no color)#2929290.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 #212A2E, closest first.

Similar named colors

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

Use #212A2E 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.