#5771E5#5771E5

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

Color values

HEX#5771E5
RGBrgb(87, 113, 229)
HSLhsl(229, 73%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(62%, 50.7%, 0%, 10.2%)
CIE-LABlab(51.26, 26.01, -61.93)
CIE-LCHlch(51.26, 67.17, 292.78°)
OKLaboklab(58.96% 0.0018 -0.1775)
OKLCHoklch(58.96% 0.177 270.6)
XYZxyz(23.9737, 19.4916, 76.6124)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771E5 #E5CB57
analogous
#57B8E5 #5771E5 #8457E5
triadic
#5771E5 #E55771 #71E557
tetradic
#5771E5 #E557B8 #E5CB57 #57E584
square
#5771E5 #E557B8 #E5CB57 #57E584
split-complementary
#5771E5 #E58457 #B8E557
monochromatic
#1A34A8 #2244DD #5771E5 #8C9EED #C1CBF5

Accessibility & contrast

On white

4.29
#5771E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5771E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771E5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771E5#FFFFFF#000000##000000
##5771E51.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81E9
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5771e5;
/* rgb */ color: rgb(87, 113, 229);
/* oklch */ color: oklch(59.0% 0.177 270.6);
Tailwind
colors: {
  custom: {
    50: '#9399ee',
    500: '#5771e5',
    950: '#000000',
  },
}
SCSS
$custom: #5771e5;
$custom-light: #9399ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5771e5",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 229.014,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.17749,
    "h": 270.6
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#5771E5
secondary
#E6DCB2
accent
#B110D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5771E5

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

Preview Lab → · Contrast checker → · Palette generator →

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