#5771DD#5771DD

#5771DD is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.167 H 270.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5771DD
RGBrgb(87, 113, 221)
HSLhsl(228, 66%, 60%)
HSVhsv(228, 61%, 87%)
CMYKcmyk(60.6%, 48.9%, 0%, 13.3%)
CIE-LABlab(50.75, 23.32, -58.23)
CIE-LCHlch(50.75, 62.73, 291.83°)
OKLaboklab(58.41% 0.001 -0.1666)
OKLCHoklch(58.41% 0.167 270.3)
XYZxyz(22.8824, 19.0550, 70.8647)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771DD #DDC357
analogous
#57B4DD #5771DD #8057DD
triadic
#5771DD #DD5771 #71DD57
tetradic
#5771DD #DD57B4 #DDC357 #57DD80
square
#5771DD #DD57B4 #DDC357 #57DD80
split-complementary
#5771DD #DD8057 #B4DD57
monochromatic
#1F379A #2A49CD #5771DD #8A9CE7 #BDC7F2

Accessibility & contrast

On white

4.36
#5771DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5771DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771DD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771DD#FFFFFF#000000##000000
##5771DD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE1
Deuteranopia (green-blind)
#1D73DB
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5771dd;
/* rgb */ color: rgb(87, 113, 221);
/* oklch */ color: oklch(58.4% 0.167 270.3);
Tailwind
colors: {
  custom: {
    50: '#9299e8',
    500: '#5771dd',
    950: '#000000',
  },
}
SCSS
$custom: #5771dd;
$custom-light: #9299e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5771dd",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 228.358,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.16661,
    "h": 270.3
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#5771DD
secondary
#E1D8AE
accent
#AB17CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5771DD

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

Preview Lab → · Contrast checker → · Palette generator →

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