#5798EF

Closest named color: Cornflower Blue (#6495ED). oklch(67.6% 0.146 256.3), rgb(87, 152, 239).

Aa

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

About this color

#5798EF is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.146 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.013 away. Black text reads best on it, at 7.14:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.146)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.14:1
White text2.93:1

Values

HEX#5798EF
RGBrgb(87, 152, 239)
HSLhsl(214, 83%, 64%)
OKLCHoklch(67.6% 0.146 256.3)

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 #5798EF 2.93:1 Fails Lc -60.9 Content text, not long reading
Black text on #5798EF 7.14:1 AAA Lc 48.4 Large or bold text, headings
#5798EF text on white 2.93:1 Fails Lc 55.6 Large or bold text, headings
#5798EF 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

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C4DBFB

    oklch(88.5% 0.051 256.7)

  4. Step 300

    300

    #9AC3FB

    oklch(80.8% 0.091 256.3)

  5. Step 400

    400 (this color)

    #5798EF

    oklch(67.6% 0.146 256.3)

  6. Step 500

    500

    #2E87F7

    oklch(63.1% 0.187 256.4)

  7. Step 600

    600

    #006FE0

    oklch(55.6% 0.192 256.3)

  8. Step 700

    700

    #005DBE

    oklch(49.2% 0.17 256.3)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #094080

    oklch(37.8% 0.121 256.1)

  11. Step 950

    950

    #09264B

    oklch(27.1% 0.077 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#5798EF 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)#729EF30.034
Deuteranopia (no green cones)#5D90ED0.021
Tritanopia (no blue cones)#00ACB80.119
Achromatopsia (no color)#9696960.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #5798EF

    #5798EF

    oklch(67.6% 0.146 256.3)

  • #C88900

    #C88900

    oklch(67.6% 0.142 76.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5798EF

    #5798EF

    oklch(67.6% 0.146 256.3)

  • #00A6D4

    #00A6D4

    oklch(67.6% 0.13 226.5)

  • #9187EC

    #9187EC

    oklch(67.6% 0.146 286.3)

Open the analogous palette in the generator

Split complementary

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

  • #5798EF

    #5798EF

    oklch(67.6% 0.146 256.3)

  • #DE7741

    #DE7741

    oklch(67.6% 0.145 46.5)

  • #A39C00

    #A39C00

    oklch(67.7% 0.145 106.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5798EF

    #5798EF

    oklch(67.6% 0.146 256.3)

  • #E26D77

    #E26D77

    oklch(67.6% 0.146 16.5)

  • #6BAB4A

    #6BAB4A

    oklch(67.6% 0.146 136.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5798EF

    #5798EF

    oklch(67.6% 0.146 256.3)

  • #D56FA9

    #D56FA9

    oklch(67.6% 0.144 346.5)

  • #C88900

    #C88900

    oklch(67.6% 0.142 76.3)

  • #00B283

    #00B283

    oklch(67.7% 0.141 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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