#21457A

Closest named color: Twilight Blue (#0A437A). oklch(39.3% 0.099 258.1), rgb(33, 69, 122).

Aa

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

About this color

#21457A is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.099 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.018 away. White text reads best on it, at 9.55:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.19:1
White text9.55:1

Values

HEX#21457A
RGBrgb(33, 69, 122)
HSLhsl(216, 57%, 30%)
OKLCHoklch(39.3% 0.099 258.1)

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 #21457A 9.55:1 AAA Lc -96.1 Preferred for body text
Black text on #21457A 2.19:1 Fails Lc 12.1 Not readable
#21457A text on white 9.55:1 AAA Lc 91.9 Preferred for body text
#21457A text on black 2.19:1 Fails Lc -10.5 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C9DBF5

    oklch(88.6% 0.041 257.5)

  4. Step 300

    300

    #A3C3F1

    oklch(81% 0.074 257.4)

  5. Step 400

    400

    #71A2EA

    oklch(70.7% 0.119 257.9)

  6. Step 500

    500

    #4B89E4

    oklch(63.2% 0.152 258)

  7. Step 600

    600

    #2C70D2

    oklch(55.6% 0.166 258.2)

  8. Step 700

    700

    #1F5DB6

    oklch(49.1% 0.155 258.3)

  9. Step 800

    800

    #1C4D93

    oklch(42.8% 0.127 258)

  10. Step 900

    900 (this color)

    #21457A

    oklch(39.3% 0.099 258.1)

  11. Step 950

    950

    #122645

    oklch(27% 0.064 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#21457A 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)#2C4A7C0.020
Deuteranopia (no green cones)#1D41790.013
Tritanopia (no blue cones)#0051590.078
Achromatopsia (no color)#4545450.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #21457A

    #21457A

    oklch(39.3% 0.099 258.1)

  • #5D3F00

    #5D3F00

    oklch(39.2% 0.082 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21457A

    #21457A

    oklch(39.3% 0.099 258.1)

  • #004D66

    #004D66

    oklch(39.3% 0.077 228.3)

  • #443B77

    #443B77

    oklch(39.3% 0.099 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #21457A

    #21457A

    oklch(39.3% 0.099 258.1)

  • #6F320A

    #6F320A

    oklch(39.4% 0.099 48.2)

  • #4A4900

    #4A4900

    oklch(39.3% 0.085 108.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21457A

    #21457A

    oklch(39.3% 0.099 258.1)

  • #712B31

    #712B31

    oklch(39.2% 0.099 17.8)

  • #285217

    #285217

    oklch(39.4% 0.1 138)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21457A

    #21457A

    oklch(39.3% 0.099 258.1)

  • #6B2C4F

    #6B2C4F

    oklch(39.3% 0.1 348.2)

  • #5D3F00

    #5D3F00

    oklch(39.2% 0.082 78.3)

  • #00533E

    #00533E

    oklch(39.3% 0.079 168.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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