#5771E6#5771E6

#5771E6 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.0% C 0.179 H 270.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5771E6
RGBrgb(87, 113, 230)
HSLhsl(229, 74%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(62.2%, 50.9%, 0%, 9.8%)
CIE-LABlab(51.32, 26.35, -62.38)
CIE-LCHlch(51.32, 67.72, 292.90°)
OKLaboklab(59.02% 0.0019 -0.1788)
OKLCHoklch(59.02% 0.179 270.6)
XYZxyz(24.1137, 19.5476, 77.3499)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771E6 #E6CC57
analogous
#57B8E6 #5771E6 #8557E6
triadic
#5771E6 #E65771 #71E657
tetradic
#5771E6 #E657B8 #E6CC57 #57E685
square
#5771E6 #E657B8 #E6CC57 #57E685
split-complementary
#5771E6 #E68557 #B8E657
monochromatic
#1933A9 #2244DE #5771E6 #8C9EEE #C2CBF6

Accessibility & contrast

On white

4.28
#5771E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5771E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771E6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771E6#FFFFFF#000000##000000
##5771E61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D81EA
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5771e6;
/* rgb */ color: rgb(87, 113, 230);
/* oklch */ color: oklch(59.0% 0.179 270.6);
Tailwind
colors: {
  custom: {
    50: '#9399ef',
    500: '#5771e6',
    950: '#000000',
  },
}
SCSS
$custom: #5771e6;
$custom-light: #9399ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5771e6",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 229.091,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.17883,
    "h": 270.6
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#5771E6
secondary
#E7DDB2
accent
#B20FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5771E6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5771E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva