#5771DA#5771DA

#5771DA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.2% C 0.163 H 270.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5771DA
RGBrgb(87, 113, 218)
HSLhsl(228, 64%, 60%)
HSVhsv(228, 60%, 85%)
CMYKcmyk(60.1%, 48.2%, 0%, 14.5%)
CIE-LABlab(50.57, 22.32, -56.84)
CIE-LCHlch(50.57, 61.06, 291.44°)
OKLaboklab(58.21% 0.0007 -0.1625)
OKLCHoklch(58.21% 0.163 270.2)
XYZxyz(22.4863, 18.8966, 68.7785)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771DA #DAC057
analogous
#57B2DA #5771DA #7F57DA
triadic
#5771DA #DA5771 #71DA57
tetradic
#5771DA #DA57B2 #DAC057 #57DA7F
square
#5771DA #DA57B2 #DAC057 #57DA7F
split-complementary
#5771DA #DA7F57 #B2DA57
monochromatic
#213896 #2C4BC8 #5771DA #899BE5 #BBC6F0

Accessibility & contrast

On white

4.39
#5771DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5771DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771DA#FFFFFF#000000##000000
##5771DA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDE
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5771da;
/* rgb */ color: rgb(87, 113, 218);
/* oklch */ color: oklch(58.2% 0.163 270.2);
Tailwind
colors: {
  custom: {
    50: '#9199e6',
    500: '#5771da',
    950: '#000000',
  },
}
SCSS
$custom: #5771da;
$custom-light: #9199e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5771da",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 228.092,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.1625,
    "h": 270.2
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#5771DA
secondary
#E0D6AD
accent
#C641E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5771DA

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

Preview Lab → · Contrast checker → · Palette generator →

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