#5771E3#5771E3

#5771E3 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.175 H 270.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5771E3
RGBrgb(87, 113, 227)
HSLhsl(229, 71%, 62%)
HSVhsv(229, 62%, 89%)
CMYKcmyk(61.7%, 50.2%, 0%, 11%)
CIE-LABlab(51.13, 25.34, -61.01)
CIE-LCHlch(51.13, 66.06, 292.56°)
OKLaboklab(58.82% 0.0016 -0.1748)
OKLCHoklch(58.82% 0.175 270.5)
XYZxyz(23.6961, 19.3805, 75.1502)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771E3 #E3C957
analogous
#57B7E3 #5771E3 #8357E3
triadic
#5771E3 #E35771 #71E357
tetradic
#5771E3 #E357B7 #E3C957 #57E383
square
#5771E3 #E357B7 #E3C957 #57E383
split-complementary
#5771E3 #E38357 #B7E357
monochromatic
#1B35A4 #2446D9 #5771E3 #8B9DEC #C0CAF4

Accessibility & contrast

On white

4.31
#5771E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5771E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771E3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771E3#FFFFFF#000000##000000
##5771E31.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E7
Deuteranopia (green-blind)
#0774E1
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5771e3;
/* rgb */ color: rgb(87, 113, 227);
/* oklch */ color: oklch(58.8% 0.175 270.5);
Tailwind
colors: {
  custom: {
    50: '#9399ec',
    500: '#5771e3',
    950: '#000000',
  },
}
SCSS
$custom: #5771e3;
$custom-light: #9399ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5771e3",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 228.857,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58817,
    "c": 0.17479,
    "h": 270.5
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#5771E3
secondary
#E5DBB1
accent
#B012D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5771E3

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

Preview Lab → · Contrast checker → · Palette generator →

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