#21244E

Closest named color: Oxford Blue (#1B263B). oklch(28.2% 0.076 277.3), rgb(33, 36, 78).

Aa

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

About this color

#21244E is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.076 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.039 away. White text reads best on it, at 14.71:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.42:1
White text14.71:1

Values

HEX#21244E
RGBrgb(33, 36, 78)
HSLhsl(236, 41%, 22%)
OKLCHoklch(28.2% 0.076 277.3)

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 #21244E 14.71:1 AAA Lc -104.3 Preferred for body text
Black text on #21244E 1.42:1 Fails Lc 0.0 Not readable
#21244E text on white 14.71:1 AAA Lc 101.4 Preferred for body text
#21244E text on black 1.42: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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FB

    oklch(88.5% 0.05 276.6)

  4. Step 300

    300

    #B2BCFB

    oklch(81% 0.09 277.2)

  5. Step 400

    400

    #8B96F9

    oklch(70.7% 0.144 277.2)

  6. Step 500

    500

    #7178F6

    oklch(63% 0.185 277.3)

  7. Step 600

    600

    #5C5DE4

    oklch(55.5% 0.2 277.4)

  8. Step 700

    700

    #4C4CC6

    oklch(49.1% 0.185 277.1)

  9. Step 800

    800

    #3E3FA0

    oklch(42.6% 0.153 277.2)

  10. Step 900

    900

    #34377F

    oklch(37.7% 0.119 277.2)

  11. Step 950

    950 (this color)

    #21244E

    oklch(28.2% 0.076 277.3)

Export this scale for Tailwind in the Tailwind colors tool

#21244E 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)#102A500.026
Deuteranopia (no green cones)#0B264D0.028
Tritanopia (no blue cones)#0D2D350.066
Achromatopsia (no color)#2828280.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #21244E

    #21244E

    oklch(28.2% 0.076 277.3)

  • #312900

    #312900

    oklch(28.1% 0.058 97.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21244E

    #21244E

    oklch(28.2% 0.076 277.3)

  • #002B4C

    #002B4C

    oklch(28.2% 0.075 247.6)

  • #331D46

    #331D46

    oklch(28.1% 0.076 306.9)

Open the analogous palette in the generator

Split complementary

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

  • #21244E

    #21244E

    oklch(28.2% 0.076 277.3)

  • #3D2200

    #3D2200

    oklch(28.1% 0.062 67.2)

  • #1F3000

    #1F3000

    oklch(28.3% 0.074 127.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21244E

    #21244E

    oklch(28.2% 0.076 277.3)

  • #48190A

    #48190A

    oklch(28.4% 0.076 37.8)

  • #00331C

    #00331C

    oklch(28.3% 0.067 157.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21244E

    #21244E

    oklch(28.2% 0.076 277.3)

  • #471623

    #471623

    oklch(28.3% 0.076 7)

  • #312900

    #312900

    oklch(28.1% 0.058 97.8)

  • #00312E

    #00312E

    oklch(28.2% 0.049 188.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21244E 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.