#5A9EFE

Closest named color: Cornflower Blue (#6495ED). oklch(69.8% 0.158 257.3), rgb(90, 158, 254).

Aa

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

About this color

#5A9EFE is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.158 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.031 away. Black text reads best on it, at 7.75:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.158)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.75:1
White text2.70:1

Values

HEX#5A9EFE
RGBrgb(90, 158, 254)
HSLhsl(215, 99%, 67%)
OKLCHoklch(69.8% 0.158 257.3)

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 #5A9EFE 2.70:1 Fails Lc -57.4 Large or bold text, headings
Black text on #5A9EFE 7.75:1 AAA Lc 51.8 Large or bold text, headings
#5A9EFE text on white 2.70:1 Fails Lc 52.2 Large or bold text, headings
#5A9EFE text on black 7.75:1 AAA Lc -49.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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFE

    oklch(88.5% 0.055 257.7)

  4. Step 300

    300

    #99C3FF

    oklch(80.9% 0.097 257.3)

  5. Step 400

    400 (this color)

    #5A9EFE

    oklch(69.8% 0.158 257.3)

  6. Step 500

    500

    #2885FF

    oklch(63% 0.201 257.3)

  7. Step 600

    600

    #006DE5

    oklch(55.6% 0.201 257.4)

  8. Step 700

    700

    #005BC2

    oklch(49% 0.177 257.5)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900

    #043E85

    oklch(37.6% 0.131 257.4)

  11. Step 950

    950

    #07254E

    oklch(27% 0.083 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#5A9EFE 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)#73A6FF0.035
Deuteranopia (no green cones)#5C96FC0.020
Tritanopia (no blue cones)#00B4C20.128
Achromatopsia (no color)#9D9D9D0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A9EFE

    #5A9EFE

    oklch(69.8% 0.158 257.3)

  • #D09000

    #D09000

    oklch(69.9% 0.146 77.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A9EFE

    #5A9EFE

    oklch(69.8% 0.158 257.3)

  • #00ADDF

    #00ADDF

    oklch(69.8% 0.136 227.6)

  • #998CFA

    #998CFA

    oklch(69.9% 0.158 287)

Open the analogous palette in the generator

Split complementary

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

  • #5A9EFE

    #5A9EFE

    oklch(69.8% 0.158 257.3)

  • #EB7B3C

    #EB7B3C

    oklch(70% 0.158 47.4)

  • #A9A300

    #A9A300

    oklch(69.8% 0.15 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A9EFE

    #5A9EFE

    oklch(69.8% 0.158 257.3)

  • #EF707A

    #EF707A

    oklch(69.9% 0.157 17.2)

  • #6BB44B

    #6BB44B

    oklch(69.9% 0.158 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A9EFE

    #5A9EFE

    oklch(69.8% 0.158 257.3)

  • #E271B0

    #E271B0

    oklch(69.8% 0.157 347.4)

  • #D09000

    #D09000

    oklch(69.9% 0.146 77.1)

  • #00B98C

    #00B98C

    oklch(69.8% 0.142 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A9EFE 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.