#213240

Closest named color: Gunmetal (#293241). oklch(30.9% 0.034 244), rgb(33, 50, 64).

Aa

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

About this color

#213240 is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.034 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.012 away. White text reads best on it, at 13.16:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.034)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.59:1
White text13.16:1

Values

HEX#213240
RGBrgb(33, 50, 64)
HSLhsl(207, 32%, 19%)
OKLCHoklch(30.9% 0.034 244)

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 #213240 13.16:1 AAA Lc -102.7 Preferred for body text
Black text on #213240 1.59:1 Fails Lc 0.0 Not readable
#213240 text on white 13.16:1 AAA Lc 99.4 Preferred for body text
#213240 text on black 1.59: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CDDBE7

    oklch(88.4% 0.022 243.8)

  4. Step 300

    300

    #ABC4D9

    oklch(80.8% 0.04 243.6)

  5. Step 400

    400

    #7FA6C6

    oklch(70.8% 0.063 243.6)

  6. Step 500

    500

    #5D8FB8

    oklch(63.1% 0.082 244.4)

  7. Step 600

    600

    #4279A4

    oklch(55.7% 0.089 244)

  8. Step 700

    700

    #33658C

    oklch(49% 0.083 244.2)

  9. Step 800

    800

    #2B5372

    oklch(42.7% 0.069 243.8)

  10. Step 900

    900

    #27455C

    oklch(37.8% 0.053 243)

  11. Step 950

    950 (this color)

    #213240

    oklch(30.9% 0.034 244)

Export this scale for Tailwind in the Tailwind colors tool

#213240 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)#2C32410.017
Deuteranopia (no green cones)#282F400.014
Tritanopia (no blue cones)#1535370.027
Achromatopsia (no color)#3030300.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #213240

    #213240

    oklch(30.9% 0.034 244)

  • #3C2C1E

    #3C2C1E

    oklch(30.8% 0.033 62.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #213240

    #213240

    oklch(30.9% 0.034 244)

  • #1A343A

    #1A343A

    oklch(30.7% 0.034 214.3)

  • #2B2F41

    #2B2F41

    oklch(30.9% 0.033 274.6)

Open the analogous palette in the generator

Split complementary

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

  • #213240

    #213240

    oklch(30.9% 0.034 244)

  • #3F2A25

    #3F2A25

    oklch(30.9% 0.033 33.9)

  • #36301C

    #36301C

    oklch(31% 0.034 93.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #213240

    #213240

    oklch(30.9% 0.034 244)

  • #3F292E

    #3F292E

    oklch(30.9% 0.034 4.3)

  • #2C3320

    #2C3320

    oklch(30.8% 0.034 124.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #213240

    #213240

    oklch(30.9% 0.034 244)

  • #3B2A37

    #3B2A37

    oklch(31% 0.033 335)

  • #3C2C1E

    #3C2C1E

    oklch(30.8% 0.033 62.3)

  • #223528

    #223528

    oklch(30.8% 0.034 154.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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