#5A9EFB

Closest named color: Cornflower Blue (#6495ED). oklch(69.7% 0.154 256.7), rgb(90, 158, 251).

Aa

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

About this color

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

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

Values

HEX#5A9EFB
RGBrgb(90, 158, 251)
HSLhsl(215, 95%, 67%)
OKLCHoklch(69.7% 0.154 256.7)

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 #5A9EFB 2.72:1 Fails Lc -57.6 Large or bold text, headings
Black text on #5A9EFB 7.71:1 AAA Lc 51.6 Large or bold text, headings
#5A9EFB text on white 2.72:1 Fails Lc 52.4 Large or bold text, headings
#5A9EFB text on black 7.71: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFD

    oklch(88.5% 0.054 257.1)

  4. Step 300

    300

    #98C3FF

    oklch(80.9% 0.097 256.8)

  5. Step 400

    400 (this color)

    #5A9EFB

    oklch(69.7% 0.154 256.7)

  6. Step 500

    500

    #2786FD

    oklch(63.1% 0.197 256.7)

  7. Step 600

    600

    #006EE2

    oklch(55.6% 0.196 256.8)

  8. Step 700

    700

    #005CBF

    oklch(49% 0.172 256.8)

  9. Step 800

    800

    #004B9E

    oklch(42.6% 0.15 256.7)

  10. Step 900

    900

    #043F84

    oklch(37.8% 0.129 256.8)

  11. Step 950

    950

    #07254D

    oklch(26.9% 0.082 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#5A9EFB 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)#75A5FF0.035
Deuteranopia (no green cones)#5E96F90.020
Tritanopia (no blue cones)#00B3C00.125
Achromatopsia (no color)#9D9D9D0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A9EFB

    #5A9EFB

    oklch(69.7% 0.154 256.7)

  • #D08F00

    #D08F00

    oklch(69.7% 0.146 76.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A9EFB

    #5A9EFB

    oklch(69.7% 0.154 256.7)

  • #00ADDD

    #00ADDD

    oklch(69.7% 0.134 226.6)

  • #988CF7

    #988CF7

    oklch(69.7% 0.154 286.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A9EFB

    #5A9EFB

    oklch(69.7% 0.154 256.7)

  • #E97B40

    #E97B40

    oklch(69.7% 0.154 46.7)

  • #A9A200

    #A9A200

    oklch(69.6% 0.149 106.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A9EFB

    #5A9EFB

    oklch(69.7% 0.154 256.7)

  • #ED707B

    #ED707B

    oklch(69.6% 0.154 16.5)

  • #6DB34C

    #6DB34C

    oklch(69.8% 0.155 136.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A9EFB

    #5A9EFB

    oklch(69.7% 0.154 256.7)

  • #E072B0

    #E072B0

    oklch(69.7% 0.154 346.9)

  • #D08F00

    #D08F00

    oklch(69.7% 0.146 76.5)

  • #00B98A

    #00B98A

    oklch(69.7% 0.143 166.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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