#5771EC

Closest named color: Cornflower (#6A79F7). oklch(59.4% 0.187 270.7), rgb(87, 113, 236).

Aa

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

About this color

#5771EC is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.187 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.036 away. Black text reads best on it, at 4.97:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.187)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text4.97:1
White text4.21:1

Values

HEX#5771EC
RGBrgb(87, 113, 236)
HSLhsl(230, 80%, 63%)
OKLCHoklch(59.4% 0.187 270.7)

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 #5771EC 4.21:1 AA large text Lc -74.2 Content text, not long reading
Black text on #5771EC 4.97:1 AA Lc 35.3 Non-text elements, placeholder text
#5771EC text on white 4.21:1 AA large text Lc 68.8 Content text, not long reading
#5771EC text on black 4.97:1 AA Lc -32.9 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CCD8FC

    oklch(88.5% 0.051 270.8)

  4. Step 300

    300

    #AABEFC

    oklch(80.9% 0.091 270.5)

  5. Step 400

    400

    #7F9AFB

    oklch(70.8% 0.145 270.6)

  6. Step 500

    500 (this color)

    #5771EC

    oklch(59.4% 0.187 270.7)

  7. Step 600

    600

    #4A62E8

    oklch(55.6% 0.203 270.6)

  8. Step 700

    700

    #3C50CA

    oklch(49.2% 0.189 270.6)

  9. Step 800

    800

    #3142A3

    oklch(42.6% 0.157 270.7)

  10. Step 900

    900

    #2B3981

    oklch(37.6% 0.122 271.1)

  11. Step 950

    950

    #19224C

    oklch(27% 0.078 271.2)

Export this scale for Tailwind in the Tailwind colors tool

#5771EC 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)#2382F00.052
Deuteranopia (no green cones)#0075E90.053
Tritanopia (no blue cones)#008EA40.157
Achromatopsia (no color)#7B7B7B0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #5771EC

    #5771EC

    oklch(59.4% 0.187 270.7)

  • #9A7B00

    #9A7B00

    oklch(59.6% 0.122 91)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5771EC

    #5771EC

    oklch(59.4% 0.187 270.7)

  • #0087C8

    #0087C8

    oklch(59.5% 0.138 240.6)

  • #935CDA

    #935CDA

    oklch(59.4% 0.187 301)

Open the analogous palette in the generator

Split complementary

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

  • #5771EC

    #5771EC

    oklch(59.4% 0.187 270.7)

  • #B86700

    #B86700

    oklch(59.4% 0.138 60.6)

  • #738A00

    #738A00

    oklch(59.4% 0.142 120.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5771EC

    #5771EC

    oklch(59.4% 0.187 270.7)

  • #D74431

    #D74431

    oklch(59.5% 0.187 30.6)

  • #009848

    #009848

    oklch(59.5% 0.161 150.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5771EC

    #5771EC

    oklch(59.4% 0.187 270.7)

  • #D13F78

    #D13F78

    oklch(59.4% 0.187 0.9)

  • #9A7B00

    #9A7B00

    oklch(59.6% 0.122 91)

  • #009382

    #009382

    oklch(59.5% 0.107 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5771EC 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.