#5798E0

Closest named color: Cornflower Blue (#6495ED). oklch(66.8% 0.127 252.4), rgb(87, 152, 224).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (67%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text6.97:1
White text3.01:1

Values

HEX#5798E0
RGBrgb(87, 152, 224)
HSLhsl(212, 69%, 61%)
OKLCHoklch(66.8% 0.127 252.4)

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 #5798E0 3.01:1 AA large text Lc -62.0 Content text, not long reading
Black text on #5798E0 6.97:1 AA Lc 47.4 Large or bold text, headings
#5798E0 text on white 3.01:1 AA large text Lc 56.6 Large or bold text, headings
#5798E0 text on black 6.97:1 AA Lc -45.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 500.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #C9DBF0

    oklch(88.4% 0.035 252.3)

  4. Step 300

    300

    #A4C4E8

    oklch(80.9% 0.062 251.6)

  5. Step 400

    400

    #72A4DD

    oklch(70.6% 0.1 252.4)

  6. Step 500

    500 (this color)

    #5798E0

    oklch(66.8% 0.127 252.4)

  7. Step 600

    600

    #2C75C1

    oklch(55.6% 0.138 252.5)

  8. Step 700

    700

    #1E62A7

    oklch(49.1% 0.129 252.5)

  9. Step 800

    800

    #1C5087

    oklch(42.7% 0.106 252.8)

  10. Step 900

    900

    #1D436C

    oklch(37.7% 0.083 252.4)

  11. Step 950

    950

    #12273F

    oklch(26.9% 0.053 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#5798E0 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)#799CE30.039
Deuteranopia (no green cones)#678FDF0.027
Tritanopia (no blue cones)#00A9B20.104
Achromatopsia (no color)#9595950.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #5798E0

    #5798E0

    oklch(66.8% 0.127 252.4)

  • #C4862B

    #C4862B

    oklch(66.8% 0.127 72)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5798E0

    #5798E0

    oklch(66.8% 0.127 252.4)

  • #00A4CB

    #00A4CB

    oklch(66.7% 0.124 222.7)

  • #8989E0

    #8989E0

    oklch(66.7% 0.128 282.4)

Open the analogous palette in the generator

Split complementary

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

  • #5798E0

    #5798E0

    oklch(66.8% 0.127 252.4)

  • #D57853

    #D57853

    oklch(66.8% 0.127 42)

  • #A49728

    #A49728

    oklch(66.8% 0.127 102.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5798E0

    #5798E0

    oklch(66.8% 0.127 252.4)

  • #D6717F

    #D6717F

    oklch(66.7% 0.127 12.3)

  • #76A54F

    #76A54F

    oklch(66.8% 0.127 132.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5798E0

    #5798E0

    oklch(66.8% 0.127 252.4)

  • #C973AA

    #C973AA

    oklch(66.7% 0.127 342.2)

  • #C4862B

    #C4862B

    oklch(66.8% 0.127 72)

  • #36AC7D

    #36AC7D

    oklch(66.7% 0.126 162.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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