#5A97EF

Closest named color: Cornflower Blue (#6495ED). oklch(67.5% 0.146 257.6), rgb(90, 151, 239).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.146)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.10:1
White text2.95:1

Values

HEX#5A97EF
RGBrgb(90, 151, 239)
HSLhsl(215, 82%, 65%)
OKLCHoklch(67.5% 0.146 257.6)

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 #5A97EF 2.95:1 Fails Lc -61.2 Content text, not long reading
Black text on #5A97EF 7.10:1 AAA Lc 48.2 Large or bold text, headings
#5A97EF text on white 2.95:1 Fails Lc 55.8 Large or bold text, headings
#5A97EF text on black 7.10:1 AAA Lc -46.0 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FB

    oklch(80.9% 0.09 257.4)

  5. Step 400

    400 (this color)

    #5A97EF

    oklch(67.5% 0.146 257.6)

  6. Step 500

    500

    #3586F7

    oklch(63% 0.186 257.7)

  7. Step 600

    600

    #006DE6

    oklch(55.7% 0.202 257.5)

  8. Step 700

    700

    #005BC3

    oklch(49.1% 0.179 257.6)

  9. Step 800

    800

    #004AA2

    oklch(42.7% 0.156 257.7)

  10. Step 900

    900

    #0E3F80

    oklch(37.7% 0.121 257.5)

  11. Step 950

    950

    #0B254B

    oklch(26.9% 0.077 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A97EF 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)#719EF30.033
Deuteranopia (no green cones)#5C90ED0.018
Tritanopia (no blue cones)#00ABB80.120
Achromatopsia (no color)#9696960.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A97EF

    #5A97EF

    oklch(67.5% 0.146 257.6)

  • #C68A00

    #C68A00

    oklch(67.6% 0.141 77.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A97EF

    #5A97EF

    oklch(67.5% 0.146 257.6)

  • #00A5D5

    #00A5D5

    oklch(67.4% 0.131 227.7)

  • #9386EB

    #9386EB

    oklch(67.5% 0.146 287.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A97EF

    #5A97EF

    oklch(67.5% 0.146 257.6)

  • #DD773E

    #DD773E

    oklch(67.4% 0.145 47.7)

  • #A19C00

    #A19C00

    oklch(67.5% 0.145 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A97EF

    #5A97EF

    oklch(67.5% 0.146 257.6)

  • #E26D75

    #E26D75

    oklch(67.5% 0.146 17.6)

  • #68AB4D

    #68AB4D

    oklch(67.5% 0.145 137.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A97EF

    #5A97EF

    oklch(67.5% 0.146 257.6)

  • #D66EA7

    #D66EA7

    oklch(67.5% 0.146 347.7)

  • #C68A00

    #C68A00

    oklch(67.6% 0.141 77.9)

  • #00B186

    #00B186

    oklch(67.5% 0.137 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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