#5A98ED

Closest named color: Cornflower Blue (#6495ED). oklch(67.6% 0.142 256.7), rgb(90, 152, 237).

Aa

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

About this color

#5A98ED is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.142 and its hue 257°. 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.142)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.14:1
White text2.93:1

Values

HEX#5A98ED
RGBrgb(90, 152, 237)
HSLhsl(215, 80%, 64%)
OKLCHoklch(67.6% 0.142 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 #5A98ED 2.93:1 Fails Lc -60.9 Content text, not long reading
Black text on #5A98ED 7.14:1 AAA Lc 48.4 Large or bold text, headings
#5A98ED text on white 2.93:1 Fails Lc 55.6 Large or bold text, headings
#5A98ED 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

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9CC3FA

    oklch(80.9% 0.089 257)

  5. Step 400

    400 (this color)

    #5A98ED

    oklch(67.6% 0.142 256.7)

  6. Step 500

    500

    #3487F4

    oklch(63% 0.182 256.8)

  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

    #0D407F

    oklch(37.8% 0.119 256.6)

  11. Step 950

    950

    #0A264A

    oklch(27% 0.075 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A98ED 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)#739EF00.033
Deuteranopia (no green cones)#5F90EB0.021
Tritanopia (no blue cones)#00ABB70.117
Achromatopsia (no color)#9797970.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A98ED

    #5A98ED

    oklch(67.6% 0.142 256.7)

  • #C88900

    #C88900

    oklch(67.6% 0.142 76.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A98ED

    #5A98ED

    oklch(67.6% 0.142 256.7)

  • #00A6D5

    #00A6D5

    oklch(67.6% 0.131 227)

  • #9288EA

    #9288EA

    oklch(67.7% 0.142 286.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A98ED

    #5A98ED

    oklch(67.6% 0.142 256.7)

  • #DD7843

    #DD7843

    oklch(67.7% 0.143 46.7)

  • #A29C0D

    #A29C0D

    oklch(67.6% 0.142 106.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A98ED

    #5A98ED

    oklch(67.6% 0.142 256.7)

  • #E16F78

    #E16F78

    oklch(67.7% 0.142 16.7)

  • #6CAB4E

    #6CAB4E

    oklch(67.7% 0.142 136.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A98ED

    #5A98ED

    oklch(67.6% 0.142 256.7)

  • #D470A8

    #D470A8

    oklch(67.6% 0.141 346.8)

  • #C88900

    #C88900

    oklch(67.6% 0.142 76.3)

  • #00B284

    #00B284

    oklch(67.7% 0.14 166.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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