#5796DB

Closest named color: Cornflower Blue (#6495ED). oklch(66.1% 0.122 252.1), rgb(87, 150, 219).

Aa

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

About this color

#5796DB is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.122 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.032 away. Black text reads best on it, at 6.79:1.

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

Values

HEX#5796DB
RGBrgb(87, 150, 219)
HSLhsl(211, 65%, 60%)
OKLCHoklch(66.1% 0.122 252.1)

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 #5796DB 3.09:1 AA large text Lc -63.1 Content text, not long reading
Black text on #5796DB 6.79:1 AA Lc 46.4 Large or bold text, headings
#5796DB text on white 3.09:1 AA large text Lc 57.7 Large or bold text, headings
#5796DB text on black 6.79:1 AA Lc -44.1 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

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CADBEF

    oklch(88.5% 0.033 252.5)

  4. Step 300

    300

    #A5C4E7

    oklch(80.9% 0.06 251.7)

  5. Step 400

    400

    #74A4DB

    oklch(70.6% 0.096 252.5)

  6. Step 500

    500 (this color)

    #5796DB

    oklch(66.1% 0.122 252.1)

  7. Step 600

    600

    #2F75BE

    oklch(55.5% 0.133 252.3)

  8. Step 700

    700

    #2162A4

    oklch(49% 0.124 252.2)

  9. Step 800

    800

    #1E5185

    oklch(42.8% 0.102 251.8)

  10. Step 900

    900

    #1E436A

    oklch(37.6% 0.079 251.8)

  11. Step 950

    950

    #13283E

    oklch(27.1% 0.049 251.1)

Export this scale for Tailwind in the Tailwind colors tool

#5796DB 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)#799ADE0.040
Deuteranopia (no green cones)#678DDA0.027
Tritanopia (no blue cones)#00A6AF0.100
Achromatopsia (no color)#9292920.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #5796DB

    #5796DB

    oklch(66.1% 0.122 252.1)

  • #C0852F

    #C0852F

    oklch(66.1% 0.122 72.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5796DB

    #5796DB

    oklch(66.1% 0.122 252.1)

  • #00A2C8

    #00A2C8

    oklch(66% 0.122 222.4)

  • #8788DB

    #8788DB

    oklch(66.1% 0.122 282)

Open the analogous palette in the generator

Split complementary

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

  • #5796DB

    #5796DB

    oklch(66.1% 0.122 252.1)

  • #D07754

    #D07754

    oklch(66% 0.122 41.9)

  • #A2952C

    #A2952C

    oklch(66.2% 0.123 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5796DB

    #5796DB

    oklch(66.1% 0.122 252.1)

  • #D2717E

    #D2717E

    oklch(66.2% 0.122 12.5)

  • #76A24F

    #76A24F

    oklch(66.1% 0.123 132)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5796DB

    #5796DB

    oklch(66.1% 0.122 252.1)

  • #C573A7

    #C573A7

    oklch(66.1% 0.122 342.3)

  • #C0852F

    #C0852F

    oklch(66.1% 0.122 72.4)

  • #3AA97B

    #3AA97B

    oklch(66% 0.122 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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