#21477D

Closest named color: Twilight Blue (#0A437A). oklch(40% 0.101 257.6), rgb(33, 71, 125).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.28:1

Values

HEX#21477D
RGBrgb(33, 71, 125)
HSLhsl(215, 58%, 31%)
OKLCHoklch(40% 0.101 257.6)

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 #21477D 9.28:1 AAA Lc -95.5 Preferred for body text
Black text on #21477D 2.26:1 Fails Lc 12.8 Not readable
#21477D text on white 9.28:1 AAA Lc 91.1 Preferred for body text
#21477D text on black 2.26:1 Fails Lc -11.2 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

    #C8DBF5

    oklch(88.5% 0.041 256.2)

  4. Step 300

    300

    #A2C3F2

    oklch(81% 0.076 257.2)

  5. Step 400

    400

    #6FA2EB

    oklch(70.7% 0.121 257.4)

  6. Step 500

    500

    #4889E5

    oklch(63.2% 0.154 257.4)

  7. Step 600

    600

    #2870D3

    oklch(55.5% 0.168 257.6)

  8. Step 700

    700

    #1A5DB7

    oklch(49% 0.157 257.7)

  9. Step 800

    800

    #184D94

    oklch(42.7% 0.129 257.3)

  10. Step 900

    900 (this color)

    #21477D

    oklch(40% 0.101 257.6)

  11. Step 950

    950

    #112645

    oklch(27% 0.064 258.1)

Export this scale for Tailwind in the Tailwind colors tool

#21477D 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)#2D4C7F0.021
Deuteranopia (no green cones)#1E437C0.013
Tritanopia (no blue cones)#00545C0.080
Achromatopsia (no color)#4747470.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #21477D

    #21477D

    oklch(40% 0.101 257.6)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21477D

    #21477D

    oklch(40% 0.101 257.6)

  • #004F68

    #004F68

    oklch(39.9% 0.078 227.7)

  • #463D7A

    #463D7A

    oklch(40.1% 0.1 287.8)

Open the analogous palette in the generator

Split complementary

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

  • #21477D

    #21477D

    oklch(40% 0.101 257.6)

  • #72330B

    #72330B

    oklch(40% 0.101 47.6)

  • #4D4A00

    #4D4A00

    oklch(39.9% 0.086 107)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21477D

    #21477D

    oklch(40% 0.101 257.6)

  • #742D33

    #742D33

    oklch(40% 0.1 17.7)

  • #2A5417

    #2A5417

    oklch(40.1% 0.102 137.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21477D

    #21477D

    oklch(40% 0.101 257.6)

  • #6D2D52

    #6D2D52

    oklch(39.9% 0.102 346.9)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

  • #00553F

    #00553F

    oklch(39.9% 0.081 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21477D 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.