#5796EF

Closest named color: Cornflower Blue (#6495ED). oklch(67.2% 0.148 257.3), rgb(87, 150, 239).

Aa

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

About this color

#5796EF is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.148 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.01:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.148)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.01:1
White text2.99:1

Values

HEX#5796EF
RGBrgb(87, 150, 239)
HSLhsl(215, 83%, 64%)
OKLCHoklch(67.2% 0.148 257.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 #5796EF 2.99:1 Fails Lc -61.7 Content text, not long reading
Black text on #5796EF 7.01:1 AAA Lc 47.7 Large or bold text, headings
#5796EF text on white 2.99:1 Fails Lc 56.3 Large or bold text, headings
#5796EF text on black 7.01:1 AAA Lc -45.4 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

    #C4DBFC

    oklch(88.5% 0.052 257.4)

  4. Step 300

    300

    #9BC3FC

    oklch(80.9% 0.092 257.2)

  5. Step 400

    400 (this color)

    #5796EF

    oklch(67.2% 0.148 257.3)

  6. Step 500

    500

    #3186F9

    oklch(63.1% 0.19 257.4)

  7. Step 600

    600

    #006DE4

    oklch(55.5% 0.199 257.3)

  8. Step 700

    700

    #005BC2

    oklch(49% 0.177 257.5)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900

    #0B3F81

    oklch(37.7% 0.123 257.2)

  11. Step 950

    950

    #09264C

    oklch(27.1% 0.078 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#5796EF 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)#6F9DF30.033
Deuteranopia (no green cones)#598FED0.018
Tritanopia (no blue cones)#00AAB70.121
Achromatopsia (no color)#9595950.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #5796EF

    #5796EF

    oklch(67.2% 0.148 257.3)

  • #C58800

    #C58800

    oklch(67.1% 0.14 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5796EF

    #5796EF

    oklch(67.2% 0.148 257.3)

  • #00A4D4

    #00A4D4

    oklch(67.1% 0.131 227.8)

  • #9185EB

    #9185EB

    oklch(67.2% 0.148 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #5796EF

    #5796EF

    oklch(67.2% 0.148 257.3)

  • #DD753C

    #DD753C

    oklch(67.1% 0.148 47.2)

  • #A09B00

    #A09B00

    oklch(67.2% 0.144 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5796EF

    #5796EF

    oklch(67.2% 0.148 257.3)

  • #E26B74

    #E26B74

    oklch(67.2% 0.148 17.3)

  • #67AA4A

    #67AA4A

    oklch(67.2% 0.147 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5796EF

    #5796EF

    oklch(67.2% 0.148 257.3)

  • #D56CA7

    #D56CA7

    oklch(67.1% 0.148 347)

  • #C58800

    #C58800

    oklch(67.1% 0.14 77)

  • #00B084

    #00B084

    oklch(67.2% 0.137 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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