#21344A

Closest named color: Gunmetal (#293241). oklch(32% 0.047 252.8), rgb(33, 52, 74).

Aa

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

About this color

#21344A is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.047 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.018 away. White text reads best on it, at 12.69:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.047)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.65:1
White text12.69:1

Values

HEX#21344A
RGBrgb(33, 52, 74)
HSLhsl(212, 38%, 21%)
OKLCHoklch(32% 0.047 252.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 #21344A 12.69:1 AAA Lc -102.0 Preferred for body text
Black text on #21344A 1.65:1 Fails Lc 0.0 Not readable
#21344A text on white 12.69:1 AAA Lc 98.7 Preferred for body text
#21344A text on black 1.65: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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF5

    oklch(93.7% 0.016 253.9)

  3. Step 200

    200

    #CBDBED

    oklch(88.5% 0.03 251.3)

  4. Step 300

    300

    #A8C3E4

    oklch(80.8% 0.055 253.6)

  5. Step 400

    400

    #79A4D7

    oklch(70.7% 0.089 253.2)

  6. Step 500

    500

    #558CCC

    oklch(63% 0.113 253.3)

  7. Step 600

    600

    #3875B9

    oklch(55.5% 0.124 253.1)

  8. Step 700

    700

    #2A629F

    oklch(49% 0.114 252.9)

  9. Step 800

    800

    #245081

    oklch(42.6% 0.095 253.1)

  10. Step 900

    900

    #234368

    oklch(37.7% 0.074 253.3)

  11. Step 950

    950 (this color)

    #21344A

    oklch(32% 0.047 252.8)

Export this scale for Tailwind in the Tailwind colors tool

#21344A 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)#2B354B0.015
Deuteranopia (no green cones)#26314A0.011
Tritanopia (no blue cones)#0E393C0.040
Achromatopsia (no color)#3333330.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #21344A

    #21344A

    oklch(32% 0.047 252.8)

  • #412F16

    #412F16

    oklch(32% 0.047 73.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21344A

    #21344A

    oklch(32% 0.047 252.8)

  • #133844

    #133844

    oklch(32% 0.047 222.6)

  • #2F304A

    #2F304A

    oklch(32% 0.046 281.8)

Open the analogous palette in the generator

Split complementary

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

  • #21344A

    #21344A

    oklch(32% 0.047 252.8)

  • #472B1F

    #472B1F

    oklch(32.1% 0.047 43.9)

  • #373416

    #373416

    oklch(32% 0.047 103.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21344A

    #21344A

    oklch(32% 0.047 252.8)

  • #47282C

    #47282C

    oklch(31.8% 0.047 11.7)

  • #29381F

    #29381F

    oklch(32% 0.047 133.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21344A

    #21344A

    oklch(32% 0.047 252.8)

  • #432939

    #432939

    oklch(31.9% 0.046 342.5)

  • #412F16

    #412F16

    oklch(32% 0.047 73.8)

  • #1A3A2C

    #1A3A2C

    oklch(31.9% 0.046 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21344A 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.