#5796DF

Closest named color: Cornflower Blue (#6495ED). oklch(66.3% 0.127 253.3), rgb(87, 150, 223).

Aa

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

About this color

#5796DF is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.127 and its hue 253°. 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.83:1.

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

Values

HEX#5796DF
RGBrgb(87, 150, 223)
HSLhsl(212, 68%, 61%)
OKLCHoklch(66.3% 0.127 253.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 #5796DF 3.07:1 AA large text Lc -62.8 Content text, not long reading
Black text on #5796DF 6.83:1 AA Lc 46.6 Large or bold text, headings
#5796DF text on white 3.07:1 AA large text Lc 57.4 Large or bold text, headings
#5796DF text on black 6.83:1 AA Lc -44.3 Non-text elements, placeholder text

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

    #CADBF0

    oklch(88.5% 0.034 253.7)

  4. Step 300

    300

    #A5C4E9

    oklch(81% 0.062 253.1)

  5. Step 400

    400

    #73A4DE

    oklch(70.7% 0.1 253.3)

  6. Step 500

    500 (this color)

    #5796DF

    oklch(66.3% 0.127 253.3)

  7. Step 600

    600

    #2E75C2

    oklch(55.7% 0.139 253.2)

  8. Step 700

    700

    #2162A7

    oklch(49.2% 0.128 253.1)

  9. Step 800

    800

    #1D5087

    oklch(42.7% 0.106 253)

  10. Step 900

    900

    #1E436C

    oklch(37.7% 0.082 252.9)

  11. Step 950

    950

    #12273F

    oklch(26.9% 0.053 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#5796DF 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)#779AE20.037
Deuteranopia (no green cones)#658DDE0.026
Tritanopia (no blue cones)#00A7B00.106
Achromatopsia (no color)#9393930.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #5796DF

    #5796DF

    oklch(66.3% 0.127 253.3)

  • #C28527

    #C28527

    oklch(66.3% 0.128 72.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5796DF

    #5796DF

    oklch(66.3% 0.127 253.3)

  • #00A3CA

    #00A3CA

    oklch(66.4% 0.123 222.8)

  • #8987DE

    #8987DE

    oklch(66.2% 0.128 283.4)

Open the analogous palette in the generator

Split complementary

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

  • #5796DF

    #5796DF

    oklch(66.3% 0.127 253.3)

  • #D3774F

    #D3774F

    oklch(66.3% 0.128 43.6)

  • #A19625

    #A19625

    oklch(66.3% 0.128 103.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5796DF

    #5796DF

    oklch(66.3% 0.127 253.3)

  • #D5707C

    #D5707C

    oklch(66.4% 0.127 13.6)

  • #73A44E

    #73A44E

    oklch(66.4% 0.128 133.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5796DF

    #5796DF

    oklch(66.3% 0.127 253.3)

  • #C871A7

    #C871A7

    oklch(66.2% 0.128 343.2)

  • #C28527

    #C28527

    oklch(66.3% 0.128 72.9)

  • #30AB7D

    #30AB7D

    oklch(66.3% 0.127 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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