#5796EB

Closest named color: Cornflower Blue (#6495ED). oklch(66.9% 0.143 256.4), rgb(87, 150, 235).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.143)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text6.96:1
White text3.01:1

Values

HEX#5796EB
RGBrgb(87, 150, 235)
HSLhsl(214, 79%, 63%)
OKLCHoklch(66.9% 0.143 256.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 #5796EB 3.01:1 AA large text Lc -62.0 Content text, not long reading
Black text on #5796EB 6.96:1 AA Lc 47.4 Large or bold text, headings
#5796EB text on white 3.01:1 AA large text Lc 56.6 Large or bold text, headings
#5796EB text on black 6.96: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 400.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C4DBFA

    oklch(88.4% 0.05 255.9)

  4. Step 300

    300

    #9BC3FA

    oklch(80.8% 0.089 256.5)

  5. Step 400

    400 (this color)

    #5796EB

    oklch(66.9% 0.143 256.4)

  6. Step 500

    500

    #3287F5

    oklch(63% 0.183 256.7)

  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

    #0C407F

    oklch(37.8% 0.119 256.4)

  11. Step 950

    950

    #0A264A

    oklch(27% 0.075 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#5796EB 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)#719CEE0.033
Deuteranopia (no green cones)#5C8EE90.021
Tritanopia (no blue cones)#00A9B50.117
Achromatopsia (no color)#9595950.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #5796EB

    #5796EB

    oklch(66.9% 0.143 256.4)

  • #C58700

    #C58700

    oklch(66.9% 0.14 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5796EB

    #5796EB

    oklch(66.9% 0.143 256.4)

  • #00A4D1

    #00A4D1

    oklch(67% 0.128 226.2)

  • #8F86E8

    #8F86E8

    oklch(67% 0.142 286.1)

Open the analogous palette in the generator

Split complementary

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

  • #5796EB

    #5796EB

    oklch(66.9% 0.143 256.4)

  • #DB7641

    #DB7641

    oklch(67.1% 0.143 46.6)

  • #A19A02

    #A19A02

    oklch(67.1% 0.143 106.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5796EB

    #5796EB

    oklch(66.9% 0.143 256.4)

  • #DF6C76

    #DF6C76

    oklch(67% 0.144 16.4)

  • #6AA94B

    #6AA94B

    oklch(67.1% 0.143 136.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5796EB

    #5796EB

    oklch(66.9% 0.143 256.4)

  • #D26EA7

    #D26EA7

    oklch(67% 0.142 346.3)

  • #C58700

    #C58700

    oklch(66.9% 0.14 76.4)

  • #00AF82

    #00AF82

    oklch(66.9% 0.138 166.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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