#21AFFD

Closest named color: Deep Sky Blue (#00BFFF). oklch(72% 0.158 240.4), rgb(33, 175, 253).

Aa

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

About this color

#21AFFD is a medium-light, vivid blue. In OKLCH its lightness is 72%, its chroma 0.158 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sky Blue (#00BFFF), ΔE 0.043 away. Black text reads best on it, at 8.61:1.

Hue familyBlues
Lightnessmedium-light (72%)
Chromavivid (0.158)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text8.61:1
White text2.43:1

Values

HEX#21AFFD
RGBrgb(33, 175, 253)
HSLhsl(201, 98%, 56%)
OKLCHoklch(72% 0.158 240.4)

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 #21AFFD 2.43:1 Fails Lc -52.4 Large or bold text, headings
Black text on #21AFFD 8.61:1 AAA Lc 56.6 Large or bold text, headings
#21AFFD text on white 2.43:1 Fails Lc 47.4 Large or bold text, headings
#21AFFD text on black 8.61:1 AAA Lc -54.6 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

    #EEF7FE

    oklch(97.1% 0.013 241)

  2. Step 100

    100

    #DAEDFC

    oklch(93.7% 0.029 241.6)

  3. Step 200

    200

    #B9DFFA

    oklch(88.5% 0.055 239.2)

  4. Step 300

    300

    #84C9FA

    oklch(80.8% 0.098 240.5)

  5. Step 400

    400 (this color)

    #21AFFD

    oklch(72% 0.158 240.4)

  6. Step 500

    500

    #0092D8

    oklch(63% 0.146 240.6)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900

    #00466B

    oklch(37.7% 0.087 240.8)

  11. Step 950

    950

    #002942

    oklch(26.9% 0.063 241.6)

Export this scale for Tailwind in the Tailwind colors tool

#21AFFD 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)#8AB0FF0.079
Deuteranopia (no green cones)#6C9DFC0.062
Tritanopia (no blue cones)#00C3CB0.105
Achromatopsia (no color)#A6A6A60.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #21AFFD

    #21AFFD

    oklch(72% 0.158 240.4)

  • #EA8921

    #EA8921

    oklch(71.9% 0.158 60.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21AFFD

    #21AFFD

    oklch(72% 0.158 240.4)

  • #00B9D0

    #00B9D0

    oklch(72% 0.125 210.4)

  • #829EFF

    #829EFF

    oklch(72% 0.145 270.3)

Open the analogous palette in the generator

Split complementary

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

  • #21AFFD

    #21AFFD

    oklch(72% 0.158 240.4)

  • #F87A66

    #F87A66

    oklch(72.1% 0.158 30.6)

  • #C89F00

    #C89F00

    oklch(72% 0.147 90.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21AFFD

    #21AFFD

    oklch(72% 0.158 240.4)

  • #F275A0

    #F275A0

    oklch(72% 0.159 0.2)

  • #98B228

    #98B228

    oklch(71.9% 0.158 120.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21AFFD

    #21AFFD

    oklch(72% 0.158 240.4)

  • #DB7DD3

    #DB7DD3

    oklch(72.1% 0.158 330.2)

  • #EA8921

    #EA8921

    oklch(71.9% 0.158 60.5)

  • #4AC06E

    #4AC06E

    oklch(72.1% 0.159 150.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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