#28A5EB

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.9% 0.146 239.8), rgb(40, 165, 235).

Aa

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

About this color

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

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

Values

HEX#28A5EB
RGBrgb(40, 165, 235)
HSLhsl(202, 83%, 54%)
OKLCHoklch(68.9% 0.146 239.8)

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 #28A5EB 2.73:1 Fails Lc -57.7 Large or bold text, headings
Black text on #28A5EB 7.67:1 AAA Lc 51.6 Large or bold text, headings
#28A5EB text on white 2.73:1 Fails Lc 52.5 Large or bold text, headings
#28A5EB text on black 7.67:1 AAA Lc -49.4 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)

    #28A5EB

    oklch(68.9% 0.146 239.8)

  6. Step 500

    500

    #0093D7

    oklch(63.2% 0.144 239.7)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950

    #002A41

    oklch(27.1% 0.061 239)

Export this scale for Tailwind in the Tailwind colors tool

#28A5EB 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)#84A6EE0.075
Deuteranopia (no green cones)#6995EA0.058
Tritanopia (no blue cones)#00B7BE0.096
Achromatopsia (no color)#9C9C9C0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #28A5EB

    #28A5EB

    oklch(68.9% 0.146 239.8)

  • #DB822B

    #DB822B

    oklch(68.9% 0.145 59.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28A5EB

    #28A5EB

    oklch(68.9% 0.146 239.8)

  • #00AEC3

    #00AEC3

    oklch(68.8% 0.119 209.9)

  • #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°).

  • #28A5EB

    #28A5EB

    oklch(68.9% 0.146 239.8)

  • #E77464

    #E77464

    oklch(68.9% 0.146 29.5)

  • #BD9600

    #BD9600

    oklch(69% 0.141 90.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28A5EB

    #28A5EB

    oklch(68.9% 0.146 239.8)

  • #E17198

    #E17198

    oklch(68.9% 0.145 359.5)

  • #90A72D

    #90A72D

    oklch(68.8% 0.145 119.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28A5EB

    #28A5EB

    oklch(68.9% 0.146 239.8)

  • #CC77C6

    #CC77C6

    oklch(68.8% 0.146 329.6)

  • #DB822B

    #DB822B

    oklch(68.9% 0.145 59.7)

  • #4DB368

    #4DB368

    oklch(68.8% 0.145 149.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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