#5771ED#5771ED

#5771ED is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.188 H 270.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5771ED
RGBrgb(87, 113, 237)
HSLhsl(230, 81%, 64%)
HSVhsv(230, 63%, 93%)
CMYKcmyk(63.3%, 52.3%, 0%, 7.1%)
CIE-LABlab(51.78, 28.70, -65.57)
CIE-LCHlch(51.78, 71.58, 293.64°)
OKLaboklab(59.51% 0.0024 -0.1882)
OKLCHoklch(59.51% 0.188 270.7)
XYZxyz(25.1165, 19.9487, 82.6312)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771ED #EDD357
analogous
#57BCED #5771ED #8857ED
triadic
#5771ED #ED5771 #71ED57
tetradic
#5771ED #ED57BC #EDD357 #57ED88
square
#5771ED #ED57BC #EDD357 #57ED88
split-complementary
#5771ED #ED8857 #BCED57
monochromatic
#1430B6 #2042E7 #5771ED #8EA0F3 #C6CEF9

Accessibility & contrast

On white

4.21
#5771ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5771ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771ED
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771ED#FFFFFF#000000##000000
##5771ED1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F1
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5771ed;
/* rgb */ color: rgb(87, 113, 237);
/* oklch */ color: oklch(59.5% 0.188 270.7);
Tailwind
colors: {
  custom: {
    50: '#9599f4',
    500: '#5771ed',
    950: '#000000',
  },
}
SCSS
$custom: #5771ed;
$custom-light: #9599f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5771ed",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 229.6,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.18821,
    "h": 270.7
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#5771ED
secondary
#EAE1B5
accent
#B809DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5771ED

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

Preview Lab → · Contrast checker → · Palette generator →

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