#28A5EC

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.9% 0.147 240.2), rgb(40, 165, 236).

Aa

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

About this color

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

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

Values

HEX#28A5EC
RGBrgb(40, 165, 236)
HSLhsl(202, 84%, 54%)
OKLCHoklch(68.9% 0.147 240.2)

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 #28A5EC 2.73:1 Fails Lc -57.6 Large or bold text, headings
Black text on #28A5EC 7.68:1 AAA Lc 51.6 Large or bold text, headings
#28A5EC text on white 2.73:1 Fails Lc 52.4 Large or bold text, headings
#28A5EC text on black 7.68:1 AAA Lc -49.5 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

    #DBEDFA

    oklch(93.7% 0.026 239.1)

  3. Step 200

    200

    #BCDEF8

    oklch(88.4% 0.051 241.1)

  4. Step 300

    300

    #89C9F6

    oklch(80.9% 0.091 240)

  5. Step 400

    400 (this color)

    #28A5EC

    oklch(68.9% 0.147 240.2)

  6. Step 500

    500

    #0092D7

    oklch(63% 0.145 240.3)

  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

    #002A41

    oklch(27.1% 0.061 239)

Export this scale for Tailwind in the Tailwind colors tool

#28A5EC 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)#83A6EF0.074
Deuteranopia (no green cones)#6995EB0.058
Tritanopia (no blue cones)#00B7BE0.097
Achromatopsia (no color)#9C9C9C0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #28A5EC

    #28A5EC

    oklch(68.9% 0.147 240.2)

  • #DB8228

    #DB8228

    oklch(68.8% 0.146 60.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28A5EC

    #28A5EC

    oklch(68.9% 0.147 240.2)

  • #00AEC4

    #00AEC4

    oklch(68.8% 0.119 210.6)

  • #7894F5

    #7894F5

    oklch(68.8% 0.146 270.1)

Open the analogous palette in the generator

Split complementary

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

  • #28A5EC

    #28A5EC

    oklch(68.9% 0.147 240.2)

  • #E87463

    #E87463

    oklch(69% 0.147 29.9)

  • #BD9600

    #BD9600

    oklch(69% 0.141 90.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28A5EC

    #28A5EC

    oklch(68.9% 0.147 240.2)

  • #E27097

    #E27097

    oklch(68.8% 0.147 0)

  • #90A82D

    #90A82D

    oklch(69% 0.147 120.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28A5EC

    #28A5EC

    oklch(68.9% 0.147 240.2)

  • #CD77C6

    #CD77C6

    oklch(69% 0.147 330)

  • #DB8228

    #DB8228

    oklch(68.8% 0.146 60.3)

  • #4BB469

    #4BB469

    oklch(69% 0.146 150.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28A5EC 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.