#5771EA#5771EA

#5771EA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.184 H 270.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5771EA
RGBrgb(87, 113, 234)
HSLhsl(229, 78%, 63%)
HSVhsv(229, 63%, 92%)
CMYKcmyk(62.8%, 51.7%, 0%, 8.2%)
CIE-LABlab(51.58, 27.69, -64.21)
CIE-LCHlch(51.58, 69.93, 293.33°)
OKLaboklab(59.3% 0.0022 -0.1842)
OKLCHoklch(59.3% 0.184 270.7)
XYZxyz(24.6819, 19.7749, 80.3422)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771EA #EAD057
analogous
#57BAEA #5771EA #8657EA
triadic
#5771EA #EA5771 #71EA57
tetradic
#5771EA #EA57BA #EAD057 #57EA86
square
#5771EA #EA57BA #EAD057 #57EA86
split-complementary
#5771EA #EA8657 #BAEA57
monochromatic
#1631B1 #2143E3 #5771EA #8D9FF1 #C4CDF8

Accessibility & contrast

On white

4.24
#5771EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5771EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771EA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771EA#FFFFFF#000000##000000
##5771EA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2682EE
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5771ea;
/* rgb */ color: rgb(87, 113, 234);
/* oklch */ color: oklch(59.3% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#9499f1',
    500: '#5771ea',
    950: '#000000',
  },
}
SCSS
$custom: #5771ea;
$custom-light: #9499f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5771ea",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 229.388,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.1842,
    "h": 270.7
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#5771EA
secondary
#E9DFB4
accent
#B50BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5771EA

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

Preview Lab → · Contrast checker → · Palette generator →

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