#5795E2

Closest named color: Cornflower Blue (#6495ED). oklch(66.2% 0.132 254.8), rgb(87, 149, 226).

Aa

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

About this color

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

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

Values

HEX#5795E2
RGBrgb(87, 149, 226)
HSLhsl(213, 71%, 61%)
OKLCHoklch(66.2% 0.132 254.8)

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 #5795E2 3.08:1 AA large text Lc -63.0 Content text, not long reading
Black text on #5795E2 6.80:1 AA Lc 46.5 Large or bold text, headings
#5795E2 text on white 3.08:1 AA large text Lc 57.6 Large or bold text, headings
#5795E2 text on black 6.80:1 AA Lc -44.2 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

    #E2EBF7

    oklch(93.7% 0.019 255.5)

  3. Step 200

    200

    #CADBF1

    oklch(88.6% 0.035 254.9)

  4. Step 300

    300

    #A5C3EA

    oklch(80.8% 0.064 255.1)

  5. Step 400

    400

    #73A3E0

    oklch(70.6% 0.104 254.9)

  6. Step 500

    500 (this color)

    #5795E2

    oklch(66.2% 0.132 254.8)

  7. Step 600

    600

    #2F74C5

    oklch(55.7% 0.144 254.6)

  8. Step 700

    700

    #2161AA

    oklch(49.2% 0.133 254.5)

  9. Step 800

    800

    #1E4F8A

    oklch(42.7% 0.111 255.1)

  10. Step 900

    900

    #1E426E

    oklch(37.6% 0.086 254.8)

  11. Step 950

    950

    #132740

    oklch(27% 0.054 254.9)

Export this scale for Tailwind in the Tailwind colors tool

#5795E2 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)#749AE50.035
Deuteranopia (no green cones)#618DE00.022
Tritanopia (no blue cones)#00A7B10.110
Achromatopsia (no color)#9393930.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #5795E2

    #5795E2

    oklch(66.2% 0.132 254.8)

  • #C2851C

    #C2851C

    oklch(66.2% 0.132 74.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5795E2

    #5795E2

    oklch(66.2% 0.132 254.8)

  • #00A2CC

    #00A2CC

    oklch(66.2% 0.125 224.8)

  • #8B86E0

    #8B86E0

    oklch(66.3% 0.132 284.7)

Open the analogous palette in the generator

Split complementary

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

  • #5795E2

    #5795E2

    oklch(66.2% 0.132 254.8)

  • #D4764A

    #D4764A

    oklch(66.2% 0.132 44.9)

  • #A0961D

    #A0961D

    oklch(66.2% 0.132 104.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5795E2

    #5795E2

    oklch(66.2% 0.132 254.8)

  • #D76E79

    #D76E79

    oklch(66.2% 0.132 14.8)

  • #6FA44D

    #6FA44D

    oklch(66.1% 0.131 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5795E2

    #5795E2

    oklch(66.2% 0.132 254.8)

  • #CB6FA6

    #CB6FA6

    oklch(66.2% 0.133 344.6)

  • #C2851C

    #C2851C

    oklch(66.2% 0.132 74.4)

  • #21AC7E

    #21AC7E

    oklch(66.3% 0.132 164.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5795E2 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.