#28A2FB

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.1% 0.166 246.4), rgb(40, 162, 251).

Aa

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

About this color

#28A2FB is a medium-light, vivid blue. In OKLCH its lightness is 69%, its chroma 0.166 and its hue 246°. 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.65:1.

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

Values

HEX#28A2FB
RGBrgb(40, 162, 251)
HSLhsl(205, 96%, 57%)
OKLCHoklch(69.1% 0.166 246.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 #28A2FB 2.74:1 Fails Lc -57.8 Large or bold text, headings
Black text on #28A2FB 7.65:1 AAA Lc 51.5 Large or bold text, headings
#28A2FB text on white 2.74:1 Fails Lc 52.5 Large or bold text, headings
#28A2FB text on black 7.65:1 AAA Lc -49.3 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

    #DAECFD

    oklch(93.5% 0.03 246.6)

  3. Step 200

    200

    #BBDEFE

    oklch(88.6% 0.058 246.1)

  4. Step 300

    300

    #89C7FF

    oklch(80.9% 0.102 246.7)

  5. Step 400

    400 (this color)

    #28A2FB

    oklch(69.1% 0.166 246.4)

  6. Step 500

    500

    #008FE6

    oklch(63.1% 0.164 246.6)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005287

    oklch(42.6% 0.111 246.5)

  10. Step 900

    900

    #004472

    oklch(37.6% 0.099 246.8)

  11. Step 950

    950

    #002846

    oklch(26.9% 0.07 246.6)

Export this scale for Tailwind in the Tailwind colors tool

#28A2FB 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)#77A6FF0.063
Deuteranopia (no green cones)#5994F90.043
Tritanopia (no blue cones)#00B8C30.117
Achromatopsia (no color)#9C9C9C0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #28A2FB

    #28A2FB

    oklch(69.1% 0.166 246.4)

  • #DA8500

    #DA8500

    oklch(69.1% 0.154 66.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28A2FB

    #28A2FB

    oklch(69.1% 0.166 246.4)

  • #00AECC

    #00AECC

    oklch(69.2% 0.123 215.9)

  • #828FFF

    #828FFF

    oklch(69.1% 0.164 276.2)

Open the analogous palette in the generator

Split complementary

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

  • #28A2FB

    #28A2FB

    oklch(69.1% 0.166 246.4)

  • #EF704C

    #EF704C

    oklch(69% 0.165 36.7)

  • #B59A00

    #B59A00

    oklch(69% 0.142 96.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28A2FB

    #28A2FB

    oklch(69.1% 0.166 246.4)

  • #ED698B

    #ED698B

    oklch(69% 0.165 6.4)

  • #81AD22

    #81AD22

    oklch(69.1% 0.166 126.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28A2FB

    #28A2FB

    oklch(69.1% 0.166 246.4)

  • #D96FC1

    #D96FC1

    oklch(69% 0.165 336.5)

  • #DA8500

    #DA8500

    oklch(69.1% 0.154 66.3)

  • #04B96F

    #04B96F

    oklch(69.1% 0.166 156.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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