#5771CE#5771CE

#5771CE is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.146 H 269.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5771CE
RGBrgb(87, 113, 206)
HSLhsl(227, 55%, 57%)
HSVhsv(227, 58%, 81%)
CMYKcmyk(57.8%, 45.1%, 0%, 19.2%)
CIE-LABlab(49.85, 18.31, -51.17)
CIE-LCHlch(49.85, 54.35, 289.69°)
OKLaboklab(57.43% -0.001 -0.1458)
OKLCHoklch(57.43% 0.146 269.6)
XYZxyz(20.9725, 18.2911, 60.8059)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771CE #CEB457
analogous
#57ACCE #5771CE #7957CE
triadic
#5771CE #CE5771 #71CE57
tetradic
#5771CE #CE57AC #CEB457 #57CE79
square
#5771CE #CE57AC #CEB457 #57CE79
split-complementary
#5771CE #CE7957 #ACCE57
monochromatic
#273B84 #3450B3 #5771CE #8699DC #B6C1EA

Accessibility & contrast

On white

4.51
#5771CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5771CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771CE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771CE#FFFFFF#000000##000000
##5771CE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5771ce;
/* rgb */ color: rgb(87, 113, 206);
/* oklch */ color: oklch(57.4% 0.146 269.6);
Tailwind
colors: {
  custom: {
    50: '#9099dd',
    500: '#5771ce',
    950: '#000000',
  },
}
SCSS
$custom: #5771ce;
$custom-light: #9099dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5771ce",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 226.891,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.14585,
    "h": 269.6
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#5771CE
secondary
#D8CEA8
accent
#BE4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5771CE

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

Preview Lab → · Contrast checker → · Palette generator →

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