#5A9BFB

Closest named color: Cornflower Blue (#6495ED). oklch(69% 0.157 258.1), rgb(90, 155, 251).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.157)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.51:1
White text2.79:1

Values

HEX#5A9BFB
RGBrgb(90, 155, 251)
HSLhsl(216, 95%, 67%)
OKLCHoklch(69% 0.157 258.1)

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 #5A9BFB 2.79:1 Fails Lc -58.8 Large or bold text, headings
Black text on #5A9BFB 7.51:1 AAA Lc 50.5 Large or bold text, headings
#5A9BFB text on white 2.79:1 Fails Lc 53.5 Large or bold text, headings
#5A9BFB text on black 7.51:1 AAA Lc -48.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

    #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

    #9AC3FF

    oklch(81% 0.096 257.8)

  5. Step 400

    400 (this color)

    #5A9BFB

    oklch(69% 0.157 258.1)

  6. Step 500

    500

    #2D85FF

    oklch(63.2% 0.199 257.9)

  7. Step 600

    600

    #006CE8

    oklch(55.6% 0.205 258)

  8. Step 700

    700

    #005AC5

    oklch(49.1% 0.183 258.1)

  9. Step 800

    800

    #0049A3

    oklch(42.6% 0.159 258.2)

  10. Step 900

    900

    #083E85

    oklch(37.7% 0.131 258)

  11. Step 950

    950

    #08254E

    oklch(27% 0.083 258)

Export this scale for Tailwind in the Tailwind colors tool

#5A9BFB 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)#70A3FF0.033
Deuteranopia (no green cones)#5994F90.018
Tritanopia (no blue cones)#00B1BF0.128
Achromatopsia (no color)#9B9B9B0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A9BFB

    #5A9BFB

    oklch(69% 0.157 258.1)

  • #CB8E00

    #CB8E00

    oklch(68.9% 0.144 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A9BFB

    #5A9BFB

    oklch(69% 0.157 258.1)

  • #00AADD

    #00AADD

    oklch(69% 0.135 228.5)

  • #9889F6

    #9889F6

    oklch(69.1% 0.157 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #5A9BFB

    #5A9BFB

    oklch(69% 0.157 258.1)

  • #E77938

    #E77938

    oklch(69.1% 0.156 48.3)

  • #A5A100

    #A5A100

    oklch(69% 0.149 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A9BFB

    #5A9BFB

    oklch(69% 0.157 258.1)

  • #EC6D76

    #EC6D76

    oklch(68.9% 0.157 17.8)

  • #67B14B

    #67B14B

    oklch(68.9% 0.156 138)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A9BFB

    #5A9BFB

    oklch(69% 0.157 258.1)

  • #E06FAC

    #E06FAC

    oklch(69.1% 0.156 348.4)

  • #CB8E00

    #CB8E00

    oklch(68.9% 0.144 78.1)

  • #00B68B

    #00B68B

    oklch(69% 0.139 168.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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