#21456C

Closest named color: Twilight Blue (#0A437A). oklch(38.4% 0.079 252.2), rgb(33, 69, 108).

Aa

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

About this color

#21456C is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.079 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.030 away. White text reads best on it, at 9.84:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.13:1
White text9.84:1

Values

HEX#21456C
RGBrgb(33, 69, 108)
HSLhsl(211, 53%, 28%)
OKLCHoklch(38.4% 0.079 252.2)

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 #21456C 9.84:1 AAA Lc -96.8 Preferred for body text
Black text on #21456C 2.13:1 Fails Lc 11.3 Not readable
#21456C text on white 9.84:1 AAA Lc 92.6 Preferred for body text
#21456C text on black 2.13:1 Fails Lc -9.8 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 900.

  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

    #CADBEF

    oklch(88.5% 0.033 252.5)

  4. Step 300

    300

    #A6C4E6

    oklch(81% 0.058 251.8)

  5. Step 400

    400

    #75A4DA

    oklch(70.6% 0.094 252.5)

  6. Step 500

    500

    #4F8DD0

    oklch(63.2% 0.12 251.9)

  7. Step 600

    600

    #3175BD

    oklch(55.5% 0.131 252.4)

  8. Step 700

    700

    #2362A3

    oklch(49% 0.122 252.3)

  9. Step 800

    800

    #1F5184

    oklch(42.8% 0.1 251.7)

  10. Step 900

    900 (this color)

    #21456C

    oklch(38.4% 0.079 252.2)

  11. Step 950

    950

    #13283E

    oklch(27.1% 0.049 251.1)

Export this scale for Tailwind in the Tailwind colors tool

#21456C 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)#34476E0.024
Deuteranopia (no green cones)#29406B0.016
Tritanopia (no blue cones)#004E530.062
Achromatopsia (no color)#4343430.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #21456C

    #21456C

    oklch(38.4% 0.079 252.2)

  • #5D3B05

    #5D3B05

    oklch(38.3% 0.079 71.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21456C

    #21456C

    oklch(38.4% 0.079 252.2)

  • #004B5E

    #004B5E

    oklch(38.3% 0.071 222.1)

  • #3D3D6C

    #3D3D6C

    oklch(38.3% 0.079 282)

Open the analogous palette in the generator

Split complementary

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

  • #21456C

    #21456C

    oklch(38.4% 0.079 252.2)

  • #66341F

    #66341F

    oklch(38.5% 0.079 42.8)

  • #4C4403

    #4C4403

    oklch(38.3% 0.078 101.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21456C

    #21456C

    oklch(38.4% 0.079 252.2)

  • #663038

    #663038

    oklch(38.4% 0.078 12.1)

  • #334C1C

    #334C1C

    oklch(38.4% 0.079 132.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21456C

    #21456C

    oklch(38.4% 0.079 252.2)

  • #5F314F

    #5F314F

    oklch(38.3% 0.078 341.8)

  • #5D3B05

    #5D3B05

    oklch(38.3% 0.079 71.6)

  • #0B5036

    #0B5036

    oklch(38.4% 0.079 161.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21456C 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.