#5795DF

Closest named color: Cornflower Blue (#6495ED). oklch(66.1% 0.128 253.9), rgb(87, 149, 223).

Aa

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

About this color

#5795DF is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.128 and its hue 254°. 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.76:1.

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

Values

HEX#5795DF
RGBrgb(87, 149, 223)
HSLhsl(213, 68%, 61%)
OKLCHoklch(66.1% 0.128 253.9)

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 #5795DF 3.10:1 AA large text Lc -63.2 Content text, not long reading
Black text on #5795DF 6.76:1 AA Lc 46.3 Large or bold text, headings
#5795DF text on white 3.10:1 AA large text Lc 57.8 Large or bold text, headings
#5795DF text on black 6.76:1 AA Lc -44.0 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

    #A5C3E9

    oklch(80.8% 0.063 254.5)

  5. Step 400

    400

    #74A4DE

    oklch(70.8% 0.1 253.7)

  6. Step 500

    500 (this color)

    #5795DF

    oklch(66.1% 0.128 253.9)

  7. Step 600

    600

    #3074C2

    oklch(55.5% 0.139 254.1)

  8. Step 700

    700

    #2261A8

    oklch(49.1% 0.13 254.2)

  9. Step 800

    800

    #1E5088

    oklch(42.8% 0.107 253.7)

  10. Step 900

    900

    #1F436D

    oklch(37.8% 0.083 253.8)

  11. Step 950

    950

    #132740

    oklch(27% 0.054 254.9)

Export this scale for Tailwind in the Tailwind colors tool

#5795DF 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)#7699E20.037
Deuteranopia (no green cones)#638CDD0.025
Tritanopia (no blue cones)#00A6B00.106
Achromatopsia (no color)#9292920.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #5795DF

    #5795DF

    oklch(66.1% 0.128 253.9)

  • #C18524

    #C18524

    oklch(66.2% 0.128 73.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5795DF

    #5795DF

    oklch(66.1% 0.128 253.9)

  • #00A2CA

    #00A2CA

    oklch(66.1% 0.124 223.6)

  • #8986DE

    #8986DE

    oklch(66% 0.129 283.8)

Open the analogous palette in the generator

Split complementary

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

  • #5795DF

    #5795DF

    oklch(66.1% 0.128 253.9)

  • #D2764D

    #D2764D

    oklch(66% 0.128 44)

  • #A09623

    #A09623

    oklch(66.2% 0.129 104.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5795DF

    #5795DF

    oklch(66.1% 0.128 253.9)

  • #D56F7A

    #D56F7A

    oklch(66.2% 0.128 14.4)

  • #71A34E

    #71A34E

    oklch(66% 0.128 133.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5795DF

    #5795DF

    oklch(66.1% 0.128 253.9)

  • #C870A6

    #C870A6

    oklch(66% 0.129 343.6)

  • #C18524

    #C18524

    oklch(66.2% 0.128 73.8)

  • #2BAB7D

    #2BAB7D

    oklch(66.2% 0.129 163.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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