#5798E7

Closest named color: Cornflower Blue (#6495ED). oklch(67.2% 0.136 254.4), rgb(87, 152, 231).

Aa

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

About this color

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

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

Values

HEX#5798E7
RGBrgb(87, 152, 231)
HSLhsl(213, 75%, 62%)
OKLCHoklch(67.2% 0.136 254.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 #5798E7 2.97:1 Fails Lc -61.5 Content text, not long reading
Black text on #5798E7 7.05:1 AAA Lc 47.9 Large or bold text, headings
#5798E7 text on white 2.97:1 Fails Lc 56.2 Large or bold text, headings
#5798E7 text on black 7.05:1 AAA Lc -45.6 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

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9BC4F7

    oklch(80.9% 0.085 254.2)

  5. Step 400

    400 (this color)

    #5798E7

    oklch(67.2% 0.136 254.4)

  6. Step 500

    500

    #308AEF

    oklch(63.2% 0.173 254.3)

  7. Step 600

    600

    #0071D8

    oklch(55.5% 0.179 254.5)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800

    #004E98

    oklch(42.8% 0.138 254.3)

  10. Step 900

    900

    #09417B

    oklch(37.7% 0.113 254.2)

  11. Step 950

    950

    #092748

    oklch(27.1% 0.071 253.7)

Export this scale for Tailwind in the Tailwind colors tool

#5798E7 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)#769DEA0.037
Deuteranopia (no green cones)#628FE50.024
Tritanopia (no blue cones)#00AAB50.110
Achromatopsia (no color)#9595950.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #5798E7

    #5798E7

    oklch(67.2% 0.136 254.4)

  • #C68719

    #C68719

    oklch(67.1% 0.136 74.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5798E7

    #5798E7

    oklch(67.2% 0.136 254.4)

  • #00A5CF

    #00A5CF

    oklch(67.1% 0.126 224.3)

  • #8D88E5

    #8D88E5

    oklch(67.1% 0.136 284.6)

Open the analogous palette in the generator

Split complementary

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

  • #5798E7

    #5798E7

    oklch(67.2% 0.136 254.4)

  • #D9774B

    #D9774B

    oklch(67.1% 0.136 44)

  • #A49919

    #A49919

    oklch(67.2% 0.136 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5798E7

    #5798E7

    oklch(67.2% 0.136 254.4)

  • #DC6F7C

    #DC6F7C

    oklch(67.1% 0.136 14)

  • #71A84D

    #71A84D

    oklch(67.3% 0.136 134.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5798E7

    #5798E7

    oklch(67.2% 0.136 254.4)

  • #CF71AA

    #CF71AA

    oklch(67.2% 0.136 344.2)

  • #C68719

    #C68719

    oklch(67.1% 0.136 74.3)

  • #1FAF80

    #1FAF80

    oklch(67.1% 0.135 164.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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