#21A2ED

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.2% 0.151 241.5), rgb(33, 162, 237).

Aa

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

About this color

#21A2ED is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.151 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.038 away. Black text reads best on it, at 7.45:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.151)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.45:1
White text2.81:1

Values

HEX#21A2ED
RGBrgb(33, 162, 237)
HSLhsl(202, 85%, 53%)
OKLCHoklch(68.2% 0.151 241.5)

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 #21A2ED 2.81:1 Fails Lc -58.9 Large or bold text, headings
Black text on #21A2ED 7.45:1 AAA Lc 50.4 Large or bold text, headings
#21A2ED text on white 2.81:1 Fails Lc 53.6 Large or bold text, headings
#21A2ED text on black 7.45:1 AAA Lc -48.2 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

    #EEF7FD

    oklch(97.1% 0.013 236.6)

  2. Step 100

    100

    #DBEDFB

    oklch(93.7% 0.027 241.2)

  3. Step 200

    200

    #BBDEF9

    oklch(88.4% 0.053 241.4)

  4. Step 300

    300

    #88C9F9

    oklch(81% 0.095 241.4)

  5. Step 400

    400 (this color)

    #21A2ED

    oklch(68.2% 0.151 241.5)

  6. Step 500

    500

    #0092DA

    oklch(63.1% 0.148 241.4)

  7. Step 600

    600

    #007AB8

    oklch(55.5% 0.131 241.7)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #005480

    oklch(42.6% 0.1 241.3)

  10. Step 900

    900

    #00466C

    oklch(37.7% 0.089 241.5)

  11. Step 950

    950

    #002942

    oklch(26.9% 0.063 241.6)

Export this scale for Tailwind in the Tailwind colors tool

#21A2ED 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)#7EA4F00.072
Deuteranopia (no green cones)#6392EC0.056
Tritanopia (no blue cones)#00B5BD0.102
Achromatopsia (no color)#9A9A9A0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #21A2ED

    #21A2ED

    oklch(68.2% 0.151 241.5)

  • #DA8017

    #DA8017

    oklch(68.3% 0.151 61.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21A2ED

    #21A2ED

    oklch(68.2% 0.151 241.5)

  • #00ACC3

    #00ACC3

    oklch(68.3% 0.119 211.4)

  • #7891F6

    #7891F6

    oklch(68.3% 0.151 271.4)

Open the analogous palette in the generator

Split complementary

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

  • #21A2ED

    #21A2ED

    oklch(68.2% 0.151 241.5)

  • #E7705C

    #E7705C

    oklch(68.1% 0.152 31.2)

  • #B89500

    #B89500

    oklch(68.2% 0.14 92)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21A2ED

    #21A2ED

    oklch(68.2% 0.151 241.5)

  • #E26C92

    #E26C92

    oklch(68.1% 0.151 1.6)

  • #8BA625

    #8BA625

    oklch(68.1% 0.151 121.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21A2ED

    #21A2ED

    oklch(68.2% 0.151 241.5)

  • #CD73C3

    #CD73C3

    oklch(68.2% 0.151 331.3)

  • #DA8017

    #DA8017

    oklch(68.3% 0.151 61.8)

  • #3FB367

    #3FB367

    oklch(68.3% 0.152 151.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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