#5771EC#5771EC

#5771EC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.187 H 270.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5771EC
RGBrgb(87, 113, 236)
HSLhsl(230, 80%, 63%)
HSVhsv(230, 63%, 93%)
CMYKcmyk(63.1%, 52.1%, 0%, 7.5%)
CIE-LABlab(51.71, 28.37, -65.11)
CIE-LCHlch(51.71, 71.03, 293.54°)
OKLaboklab(59.45% 0.0024 -0.1869)
OKLCHoklch(59.45% 0.187 270.7)
XYZxyz(24.9708, 19.8904, 81.8639)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771EC #ECD257
analogous
#57BBEC #5771EC #8757EC
triadic
#5771EC #EC5771 #71EC57
tetradic
#5771EC #EC57BB #ECD257 #57EC87
square
#5771EC #EC57BB #ECD257 #57EC87
split-complementary
#5771EC #EC8757 #BBEC57
monochromatic
#1430B4 #2043E6 #5771EC #8E9FF2 #C5CEF8

Accessibility & contrast

On white

4.22
#5771EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5771EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771EC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771EC#FFFFFF#000000##000000
##5771EC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5771ec;
/* rgb */ color: rgb(87, 113, 236);
/* oklch */ color: oklch(59.4% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#9499f3',
    500: '#5771ec',
    950: '#000000',
  },
}
SCSS
$custom: #5771ec;
$custom-light: #9499f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5771ec",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 229.53,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59445,
    "c": 0.18687,
    "h": 270.7
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#5771EC
secondary
#EAE1B5
accent
#B70ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5771EC

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

Preview Lab → · Contrast checker → · Palette generator →

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