#213838

Closest named color: Gunmetal (#293241). oklch(32.2% 0.029 195.8), rgb(33, 56, 56).

Aa

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

About this color

#213838 is a dark close to neutral grey. In OKLCH its lightness is 32%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.032 away. White text reads best on it, at 12.44:1.

Hue familyNeutrals
Lightnessdark (32%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.68:1
White text12.44:1

Values

HEX#213838
RGBrgb(33, 56, 56)
HSLhsl(180, 26%, 17%)
OKLCHoklch(32.2% 0.029 195.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 #213838 12.44:1 AAA Lc -101.7 Preferred for body text
Black text on #213838 1.68:1 Fails Lc 0.0 Not readable
#213838 text on white 12.44:1 AAA Lc 98.3 Preferred for body text
#213838 text on black 1.68: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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEC

    oklch(93.6% 0.01 197)

  3. Step 200

    200

    #CCDDDD

    oklch(88.5% 0.018 196.8)

  4. Step 300

    300

    #A8C8C8

    oklch(80.9% 0.034 196.5)

  5. Step 400

    400

    #78ACAC

    oklch(70.8% 0.055 196)

  6. Step 500

    500

    #529797

    oklch(63.1% 0.07 195.5)

  7. Step 600

    600

    #328182

    oklch(55.6% 0.076 196.4)

  8. Step 700

    700

    #246D6E

    oklch(49.1% 0.07 196.4)

  9. Step 800

    800

    #205959

    oklch(42.7% 0.059 195.2)

  10. Step 900

    900

    #204949

    oklch(37.6% 0.046 195.4)

  11. Step 950

    950 (this color)

    #213838

    oklch(32.2% 0.029 195.8)

Export this scale for Tailwind in the Tailwind colors tool

#213838 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)#3536380.030
Deuteranopia (no green cones)#3133380.028
Tritanopia (no blue cones)#1839380.010
Achromatopsia (no color)#3434340.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #213838

    #213838

    oklch(32.2% 0.029 195.8)

  • #412D2E

    #412D2E

    oklch(32.1% 0.03 15.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #213838

    #213838

    oklch(32.2% 0.029 195.8)

  • #253830

    #253830

    oklch(32.2% 0.028 166.6)

  • #23373F

    #23373F

    oklch(32.3% 0.029 225)

Open the analogous palette in the generator

Split complementary

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

  • #213838

    #213838

    oklch(32.2% 0.029 195.8)

  • #3E2D36

    #3E2D36

    oklch(32% 0.029 345.8)

  • #402F27

    #402F27

    oklch(32.2% 0.029 46.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #213838

    #213838

    oklch(32.2% 0.029 195.8)

  • #392F3D

    #392F3D

    oklch(32.2% 0.028 316.3)

  • #3C3123

    #3C3123

    oklch(32.1% 0.028 73.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #213838

    #213838

    oklch(32.2% 0.029 195.8)

  • #323142

    #323142

    oklch(32.2% 0.03 287.3)

  • #412D2E

    #412D2E

    oklch(32.1% 0.03 15.5)

  • #353423

    #353423

    oklch(32.1% 0.028 105.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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