#5A97F2

Closest named color: Cornflower Blue (#6495ED). oklch(67.7% 0.15 258.2), rgb(90, 151, 242).

Aa

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

About this color

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

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

Values

HEX#5A97F2
RGBrgb(90, 151, 242)
HSLhsl(216, 85%, 65%)
OKLCHoklch(67.7% 0.15 258.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 #5A97F2 2.93:1 Fails Lc -60.9 Content text, not long reading
Black text on #5A97F2 7.14:1 AAA Lc 48.4 Large or bold text, headings
#5A97F2 text on white 2.93:1 Fails Lc 55.6 Large or bold text, headings
#5A97F2 text on black 7.14:1 AAA Lc -46.2 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

    #C4DBFC

    oklch(88.5% 0.052 257.4)

  4. Step 300

    300

    #9BC3FD

    oklch(81% 0.093 257.6)

  5. Step 400

    400 (this color)

    #5A97F2

    oklch(67.7% 0.15 258.2)

  6. Step 500

    500

    #3485FA

    oklch(63% 0.192 258.3)

  7. Step 600

    600

    #006BE9

    oklch(55.5% 0.208 258.3)

  8. Step 700

    700

    #005AC6

    oklch(49.1% 0.184 258.2)

  9. Step 800

    800

    #0049A4

    oklch(42.7% 0.16 258.3)

  10. Step 900

    900

    #0E3E82

    oklch(37.6% 0.125 258.5)

  11. Step 950

    950

    #0A254C

    oklch(26.9% 0.079 258.2)

Export this scale for Tailwind in the Tailwind colors tool

#5A97F2 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)#6F9EF60.031
Deuteranopia (no green cones)#5A90F00.018
Tritanopia (no blue cones)#00ACB90.124
Achromatopsia (no color)#9696960.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A97F2

    #5A97F2

    oklch(67.7% 0.15 258.2)

  • #C68B00

    #C68B00

    oklch(67.8% 0.141 78.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A97F2

    #5A97F2

    oklch(67.7% 0.15 258.2)

  • #00A6D7

    #00A6D7

    oklch(67.7% 0.132 228.1)

  • #9486ED

    #9486ED

    oklch(67.7% 0.149 288)

Open the analogous palette in the generator

Split complementary

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

  • #5A97F2

    #5A97F2

    oklch(67.7% 0.15 258.2)

  • #DF773A

    #DF773A

    oklch(67.7% 0.149 48.4)

  • #A09D00

    #A09D00

    oklch(67.6% 0.146 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A97F2

    #5A97F2

    oklch(67.7% 0.15 258.2)

  • #E46C73

    #E46C73

    oklch(67.6% 0.149 18.3)

  • #65AC4C

    #65AC4C

    oklch(67.6% 0.149 138.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A97F2

    #5A97F2

    oklch(67.7% 0.15 258.2)

  • #D86DA7

    #D86DA7

    oklch(67.6% 0.149 348.1)

  • #C68B00

    #C68B00

    oklch(67.8% 0.141 78.5)

  • #00B287

    #00B287

    oklch(67.8% 0.138 167.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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