#21344B

Closest named color: Gunmetal (#293241). oklch(32% 0.048 253.8), rgb(33, 52, 75).

Aa

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

About this color

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

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

Values

HEX#21344B
RGBrgb(33, 52, 75)
HSLhsl(213, 39%, 21%)
OKLCHoklch(32% 0.048 253.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 #21344B 12.66:1 AAA Lc -102.0 Preferred for body text
Black text on #21344B 1.65:1 Fails Lc 0.0 Not readable
#21344B text on white 12.66:1 AAA Lc 98.6 Preferred for body text
#21344B 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CBDBEE

    oklch(88.5% 0.031 252.7)

  4. Step 300

    300

    #A8C3E5

    oklch(80.9% 0.057 254.3)

  5. Step 400

    400

    #78A4D9

    oklch(70.8% 0.092 253.6)

  6. Step 500

    500

    #548CCE

    oklch(63.1% 0.116 253.6)

  7. Step 600

    600

    #3875BB

    oklch(55.6% 0.126 253.7)

  8. Step 700

    700

    #2A62A2

    oklch(49.2% 0.118 253.8)

  9. Step 800

    800

    #245083

    oklch(42.7% 0.098 253.9)

  10. Step 900

    900

    #224369

    oklch(37.7% 0.076 253.3)

  11. Step 950

    950 (this color)

    #21344B

    oklch(32% 0.048 253.8)

Export this scale for Tailwind in the Tailwind colors tool

#21344B 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)#2B354C0.015
Deuteranopia (no green cones)#26314B0.011
Tritanopia (no blue cones)#0D393C0.042
Achromatopsia (no color)#3333330.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #21344B

    #21344B

    oklch(32% 0.048 253.8)

  • #422F15

    #422F15

    oklch(32.1% 0.048 73.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21344B

    #21344B

    oklch(32% 0.048 253.8)

  • #123845

    #123845

    oklch(32% 0.048 224.1)

  • #302F4B

    #302F4B

    oklch(32% 0.049 284.9)

Open the analogous palette in the generator

Split complementary

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

  • #21344B

    #21344B

    oklch(32% 0.048 253.8)

  • #472B1E

    #472B1E

    oklch(32% 0.047 45.5)

  • #373415

    #373415

    oklch(32% 0.048 103.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21344B

    #21344B

    oklch(32% 0.048 253.8)

  • #48282B

    #48282B

    oklch(31.9% 0.048 14.1)

  • #29381E

    #29381E

    oklch(32% 0.048 132.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21344B

    #21344B

    oklch(32% 0.048 253.8)

  • #442939

    #442939

    oklch(32.1% 0.047 343.7)

  • #422F15

    #422F15

    oklch(32.1% 0.048 73.2)

  • #183B2C

    #183B2C

    oklch(32.1% 0.049 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 #21344B, closest first.

Similar named colors

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

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