#21343F

Closest named color: Gunmetal (#293241). oklch(31.4% 0.032 234.5), rgb(33, 52, 63).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.032)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.62:1
White text12.90:1

Values

HEX#21343F
RGBrgb(33, 52, 63)
HSLhsl(202, 31%, 19%)
OKLCHoklch(31.4% 0.032 234.5)

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 #21343F 12.90:1 AAA Lc -102.3 Preferred for body text
Black text on #21343F 1.62:1 Fails Lc 0.0 Not readable
#21343F text on white 12.90:1 AAA Lc 99.0 Preferred for body text
#21343F text on black 1.62: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CDDCE5

    oklch(88.6% 0.02 233.9)

  4. Step 300

    300

    #AAC5D6

    oklch(80.9% 0.038 235.6)

  5. Step 400

    400

    #7CA7C1

    oklch(70.7% 0.06 235.3)

  6. Step 500

    500

    #5991B1

    oklch(63.1% 0.076 234.8)

  7. Step 600

    600

    #3C7B9D

    oklch(55.6% 0.084 234.6)

  8. Step 700

    700

    #2E6886

    oklch(49.2% 0.077 233.9)

  9. Step 800

    800

    #27556D

    oklch(42.8% 0.064 233.8)

  10. Step 900

    900

    #254658

    oklch(37.7% 0.05 234)

  11. Step 950

    950 (this color)

    #21343F

    oklch(31.4% 0.032 234.5)

Export this scale for Tailwind in the Tailwind colors tool

#21343F 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)#2F33400.021
Deuteranopia (no green cones)#2B303F0.019
Tritanopia (no blue cones)#1537380.024
Achromatopsia (no color)#3232320.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #21343F

    #21343F

    oklch(31.4% 0.032 234.5)

  • #3E2D22

    #3E2D22

    oklch(31.4% 0.031 54.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21343F

    #21343F

    oklch(31.4% 0.032 234.5)

  • #1D3639

    #1D3639

    oklch(31.4% 0.031 205.5)

  • #293142

    #293142

    oklch(31.3% 0.033 265)

Open the analogous palette in the generator

Split complementary

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

  • #21343F

    #21343F

    oklch(31.4% 0.032 234.5)

  • #402B29

    #402B29

    oklch(31.4% 0.032 25.1)

  • #39301E

    #39301E

    oklch(31.4% 0.032 84.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21343F

    #21343F

    oklch(31.4% 0.032 234.5)

  • #3E2B32

    #3E2B32

    oklch(31.4% 0.03 355.1)

  • #313321

    #313321

    oklch(31.4% 0.03 113.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21343F

    #21343F

    oklch(31.4% 0.032 234.5)

  • #392C3A

    #392C3A

    oklch(31.3% 0.03 324)

  • #3E2D22

    #3E2D22

    oklch(31.4% 0.031 54.2)

  • #273627

    #273627

    oklch(31.4% 0.033 144.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21343F 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.