#21A2F3

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.5% 0.158 243.5), rgb(33, 162, 243).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.158)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.52:1
White text2.78:1

Values

HEX#21A2F3
RGBrgb(33, 162, 243)
HSLhsl(203, 90%, 54%)
OKLCHoklch(68.5% 0.158 243.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 #21A2F3 2.78:1 Fails Lc -58.4 Large or bold text, headings
Black text on #21A2F3 7.52:1 AAA Lc 50.8 Large or bold text, headings
#21A2F3 text on white 2.78:1 Fails Lc 53.2 Large or bold text, headings
#21A2F3 text on black 7.52:1 AAA Lc -48.7 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

    #BBDEFB

    oklch(88.5% 0.055 243.4)

  4. Step 300

    300

    #87C8FC

    oklch(80.9% 0.099 243.6)

  5. Step 400

    400 (this color)

    #21A2F3

    oklch(68.5% 0.158 243.5)

  6. Step 500

    500

    #0091DE

    oklch(63.1% 0.153 243.2)

  7. Step 600

    600

    #007ABC

    oklch(55.7% 0.136 243.3)

  8. Step 700

    700

    #00669F

    oklch(49.1% 0.12 243.6)

  9. Step 800

    800

    #005383

    oklch(42.6% 0.105 243.8)

  10. Step 900

    900

    #00456E

    oklch(37.6% 0.092 243.7)

  11. Step 950

    950

    #002944

    oklch(27% 0.066 243.6)

Export this scale for Tailwind in the Tailwind colors tool

#21A2F3 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)#7BA5F60.069
Deuteranopia (no green cones)#5E93F10.050
Tritanopia (no blue cones)#00B6BF0.109
Achromatopsia (no color)#9B9B9B0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #21A2F3

    #21A2F3

    oklch(68.5% 0.158 243.5)

  • #DB8100

    #DB8100

    oklch(68.5% 0.156 63.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21A2F3

    #21A2F3

    oklch(68.5% 0.158 243.5)

  • #00ACC6

    #00ACC6

    oklch(68.4% 0.12 213.5)

  • #7C90FA

    #7C90FA

    oklch(68.6% 0.157 273.5)

Open the analogous palette in the generator

Split complementary

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

  • #21A2F3

    #21A2F3

    oklch(68.5% 0.158 243.5)

  • #EB7055

    #EB7055

    oklch(68.6% 0.158 33.8)

  • #B79700

    #B79700

    oklch(68.6% 0.14 93.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21A2F3

    #21A2F3

    oklch(68.5% 0.158 243.5)

  • #E76A8F

    #E76A8F

    oklch(68.4% 0.159 3.6)

  • #87A922

    #87A922

    oklch(68.5% 0.158 123.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21A2F3

    #21A2F3

    oklch(68.5% 0.158 243.5)

  • #D271C2

    #D271C2

    oklch(68.5% 0.157 333.6)

  • #DB8100

    #DB8100

    oklch(68.5% 0.156 63.6)

  • #30B56A

    #30B56A

    oklch(68.5% 0.158 153.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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