#5798EA

Closest named color: Cornflower Blue (#6495ED). oklch(67.3% 0.139 255.1), rgb(87, 152, 234).

Aa

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

About this color

#5798EA is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.139 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.015 away. Black text reads best on it, at 7.08:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.08:1
White text2.96:1

Values

HEX#5798EA
RGBrgb(87, 152, 234)
HSLhsl(213, 78%, 63%)
OKLCHoklch(67.3% 0.139 255.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 #5798EA 2.96:1 Fails Lc -61.3 Content text, not long reading
Black text on #5798EA 7.08:1 AAA Lc 48.1 Large or bold text, headings
#5798EA text on white 2.96:1 Fails Lc 56.0 Large or bold text, headings
#5798EA text on black 7.08:1 AAA Lc -45.8 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C4DBF9

    oklch(88.4% 0.048 255.1)

  4. Step 300

    300

    #9BC4F9

    oklch(81% 0.087 255.1)

  5. Step 400

    400 (this color)

    #5798EA

    oklch(67.3% 0.139 255.1)

  6. Step 500

    500

    #2F89F2

    oklch(63.2% 0.178 255.1)

  7. Step 600

    600

    #0070DB

    oklch(55.5% 0.184 255.3)

  8. Step 700

    700

    #005EBA

    oklch(49.1% 0.163 255.3)

  9. Step 800

    800

    #004D9A

    oklch(42.7% 0.142 255.2)

  10. Step 900

    900

    #09407D

    oklch(37.6% 0.117 255.3)

  11. Step 950

    950

    #092649

    oklch(26.9% 0.074 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#5798EA 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)#759DED0.036
Deuteranopia (no green cones)#6090E80.021
Tritanopia (no blue cones)#00ABB60.114
Achromatopsia (no color)#9696960.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #5798EA

    #5798EA

    oklch(67.3% 0.139 255.1)

  • #C7880C

    #C7880C

    oklch(67.3% 0.139 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5798EA

    #5798EA

    oklch(67.3% 0.139 255.1)

  • #00A6D1

    #00A6D1

    oklch(67.4% 0.128 224.8)

  • #8F88E8

    #8F88E8

    oklch(67.4% 0.14 285.3)

Open the analogous palette in the generator

Split complementary

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

  • #5798EA

    #5798EA

    oklch(67.3% 0.139 255.1)

  • #DB7747

    #DB7747

    oklch(67.3% 0.14 45.1)

  • #A39A10

    #A39A10

    oklch(67.3% 0.14 105.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5798EA

    #5798EA

    oklch(67.3% 0.139 255.1)

  • #DE6F7A

    #DE6F7A

    oklch(67.4% 0.139 15.3)

  • #6FA94C

    #6FA94C

    oklch(67.4% 0.14 135.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5798EA

    #5798EA

    oklch(67.3% 0.139 255.1)

  • #D170AA

    #D170AA

    oklch(67.3% 0.14 344.7)

  • #C7880C

    #C7880C

    oklch(67.3% 0.139 75.5)

  • #0CB181

    #0CB181

    oklch(67.5% 0.14 165.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5798EA 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.