#212A33

Closest named color: Jet (#212529). oklch(28% 0.021 248.6), rgb(33, 42, 51).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.44:1
White text14.54:1

Values

HEX#212A33
RGBrgb(33, 42, 51)
HSLhsl(210, 21%, 16%)
OKLCHoklch(28% 0.021 248.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 #212A33 14.54:1 AAA Lc -104.2 Preferred for body text
Black text on #212A33 1.44:1 Fails Lc 0.0 Not readable
#212A33 text on white 14.54:1 AAA Lc 101.3 Preferred for body text
#212A33 text on black 1.44: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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E6EAEE

    oklch(93.5% 0.007 247.9)

  3. Step 200

    200

    #D2DAE2

    oklch(88.5% 0.014 248)

  4. Step 300

    300

    #B5C2D0

    oklch(80.8% 0.024 250.1)

  5. Step 400

    400

    #8EA3B9

    oklch(70.7% 0.04 249.6)

  6. Step 500

    500

    #728DA7

    oklch(63.2% 0.05 247.6)

  7. Step 600

    600

    #5A7693

    oklch(55.5% 0.056 249.7)

  8. Step 700

    700

    #4A637D

    oklch(49% 0.052 249.9)

  9. Step 800

    800

    #3D5165

    oklch(42.7% 0.042 248.8)

  10. Step 900

    900

    #344353

    oklch(37.7% 0.034 250.4)

  11. Step 950

    950 (this color)

    #212A33

    oklch(28% 0.021 248.6)

Export this scale for Tailwind in the Tailwind colors tool

#212A33 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)#272A330.010
Deuteranopia (no green cones)#2428330.008
Tritanopia (no blue cones)#1C2C2D0.017
Achromatopsia (no color)#2929290.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #212A33

    #212A33

    oklch(28% 0.021 248.6)

  • #30271E

    #30271E

    oklch(28% 0.021 66.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212A33

    #212A33

    oklch(28% 0.021 248.6)

  • #1D2C30

    #1D2C30

    oklch(28.1% 0.021 216.1)

  • #262833

    #262833

    oklch(28% 0.02 276.9)

Open the analogous palette in the generator

Split complementary

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

  • #212A33

    #212A33

    oklch(28% 0.021 248.6)

  • #322621

    #322621

    oklch(28.1% 0.02 43.8)

  • #2B291D

    #2B291D

    oklch(27.9% 0.021 99.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212A33

    #212A33

    oklch(28% 0.021 248.6)

  • #322527

    #322527

    oklch(28% 0.02 8.1)

  • #262B20

    #262B20

    oklch(28% 0.021 127.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212A33

    #212A33

    oklch(28% 0.021 248.6)

  • #30252C

    #30252C

    oklch(28% 0.02 340.1)

  • #30271E

    #30271E

    oklch(28% 0.021 66.8)

  • #202C25

    #202C25

    oklch(27.9% 0.021 159.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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