#5771DC#5771DC

#5771DC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.165 H 270.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5771DC
RGBrgb(87, 113, 220)
HSLhsl(228, 66%, 60%)
HSVhsv(228, 60%, 86%)
CMYKcmyk(60.5%, 48.6%, 0%, 13.7%)
CIE-LABlab(50.69, 22.99, -57.77)
CIE-LCHlch(50.69, 62.17, 291.70°)
OKLaboklab(58.34% 0.0009 -0.1652)
OKLCHoklch(58.34% 0.165 270.3)
XYZxyz(22.7495, 19.0019, 70.1652)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771DC #DCC257
analogous
#57B3DC #5771DC #8057DC
triadic
#5771DC #DC5771 #71DC57
tetradic
#5771DC #DC57B3 #DCC257 #57DC80
square
#5771DC #DC57B3 #DCC257 #57DC80
split-complementary
#5771DC #DC8057 #B3DC57
monochromatic
#203799 #2A4ACB #5771DC #8A9CE7 #BCC7F1

Accessibility & contrast

On white

4.37
#5771DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5771DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771DC#FFFFFF#000000##000000
##5771DC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE0
Deuteranopia (green-blind)
#1F73DA
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5771dc;
/* rgb */ color: rgb(87, 113, 220);
/* oklch */ color: oklch(58.3% 0.165 270.3);
Tailwind
colors: {
  custom: {
    50: '#9299e7',
    500: '#5771dc',
    950: '#000000',
  },
}
SCSS
$custom: #5771dc;
$custom-light: #9299e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5771dc",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 228.271,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.16525,
    "h": 270.3
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#5771DC
secondary
#E1D7AE
accent
#AA18CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5771DC

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

Preview Lab → · Contrast checker → · Palette generator →

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