#5771E7#5771E7

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

Color values

HEX#5771E7
RGBrgb(87, 113, 231)
HSLhsl(229, 75%, 62%)
HSVhsv(229, 62%, 91%)
CMYKcmyk(62.3%, 51.1%, 0%, 9.4%)
CIE-LABlab(51.39, 26.68, -62.84)
CIE-LCHlch(51.39, 68.27, 293.01°)
OKLaboklab(59.09% 0.002 -0.1802)
OKLCHoklch(59.09% 0.18 270.6)
XYZxyz(24.2546, 19.6039, 78.0916)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771E7 #E7CD57
analogous
#57B9E7 #5771E7 #8557E7
triadic
#5771E7 #E75771 #71E757
tetradic
#5771E7 #E757B9 #E7CD57 #57E785
square
#5771E7 #E757B9 #E7CD57 #57E785
split-complementary
#5771E7 #E78557 #B9E757
monochromatic
#1833AB #2144DF #5771E7 #8D9EEF #C2CCF6

Accessibility & contrast

On white

4.27
#5771E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5771E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771E7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771E7#FFFFFF#000000##000000
##5771E71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5771e7;
/* rgb */ color: rgb(87, 113, 231);
/* oklch */ color: oklch(59.1% 0.180 270.6);
Tailwind
colors: {
  custom: {
    50: '#9499ef',
    500: '#5771e7',
    950: '#000000',
  },
}
SCSS
$custom: #5771e7;
$custom-light: #9499ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5771e7",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 229.167,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59094,
    "c": 0.18018,
    "h": 270.6
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#5771E7
secondary
#E7DEB3
accent
#B30ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5771E7

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

Preview Lab → · Contrast checker → · Palette generator →

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