#21A4E2

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.1% 0.139 236.1), rgb(33, 164, 226).

Aa

Black text reads best on this color (7.47:1).

About this color

#21A4E2 is a medium-light, moderately saturated blue. In OKLCH its lightness is 68%, its chroma 0.139 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.051 away. Black text reads best on it, at 7.47:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.47:1
White text2.81:1

Values

HEX#21A4E2
RGBrgb(33, 164, 226)
HSLhsl(199, 77%, 51%)
OKLCHoklch(68.1% 0.139 236.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 #21A4E2 2.81:1 Fails Lc -58.8 Large or bold text, headings
Black text on #21A4E2 7.47:1 AAA Lc 50.5 Large or bold text, headings
#21A4E2 text on white 2.81:1 Fails Lc 53.5 Large or bold text, headings
#21A4E2 text on black 7.47:1 AAA Lc -48.3 Large or bold text, headings

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 400.

  1. Step 50

    50

    #EEF7FC

    oklch(97.1% 0.012 231.7)

  2. Step 100

    100

    #DBEDF9

    oklch(93.6% 0.025 236.8)

  3. Step 200

    200

    #BCDFF5

    oklch(88.5% 0.048 235.7)

  4. Step 300

    300

    #89CAF1

    oklch(80.9% 0.086 235.6)

  5. Step 400

    400 (this color)

    #21A4E2

    oklch(68.1% 0.139 236.1)

  6. Step 500

    500

    #0094D0

    oklch(63.1% 0.136 236.2)

  7. Step 600

    600

    #007CB0

    oklch(55.5% 0.121 236.7)

  8. Step 700

    700

    #006994

    oklch(49.2% 0.105 235.5)

  9. Step 800

    800

    #00567A

    oklch(42.8% 0.091 235.4)

  10. Step 900

    900

    #004767

    oklch(37.7% 0.082 236.6)

  11. Step 950

    950

    #002A3F

    oklch(27% 0.059 236.5)

Export this scale for Tailwind in the Tailwind colors tool

#21A4E2 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)#86A4E50.081
Deuteranopia (no green cones)#6D93E10.065
Tritanopia (no blue cones)#00B4B90.087
Achromatopsia (no color)#9A9A9A0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #21A4E2

    #21A4E2

    oklch(68.1% 0.139 236.1)

  • #D87F37

    #D87F37

    oklch(68.1% 0.139 56.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21A4E2

    #21A4E2

    oklch(68.1% 0.139 236.1)

  • #00ACBC

    #00ACBC

    oklch(68% 0.116 206.5)

  • #7095EE

    #7095EE

    oklch(68.2% 0.138 265.8)

Open the analogous palette in the generator

Split complementary

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

  • #21A4E2

    #21A4E2

    oklch(68.1% 0.139 236.1)

  • #E1736A

    #E1736A

    oklch(68% 0.139 26.2)

  • #BE9104

    #BE9104

    oklch(68.1% 0.139 86.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21A4E2

    #21A4E2

    oklch(68.1% 0.139 236.1)

  • #DA719B

    #DA719B

    oklch(68.1% 0.139 356.1)

  • #95A22D

    #95A22D

    oklch(68% 0.138 115.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21A4E2

    #21A4E2

    oklch(68.1% 0.139 236.1)

  • #C478C6

    #C478C6

    oklch(68.1% 0.139 326.1)

  • #D87F37

    #D87F37

    oklch(68.1% 0.139 56.1)

  • #59AF62

    #59AF62

    oklch(68.1% 0.139 146)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21A4E2 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.