#5770DC#5770DC

#5770DC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.167 H 270.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5770DC
RGBrgb(87, 112, 220)
HSLhsl(229, 66%, 60%)
HSVhsv(229, 60%, 86%)
CMYKcmyk(60.5%, 49.1%, 0%, 13.7%)
CIE-LABlab(50.43, 23.61, -58.19)
CIE-LCHlch(50.43, 62.79, 292.08°)
OKLaboklab(58.15% 0.0019 -0.1665)
OKLCHoklch(58.15% 0.167 270.6)
XYZxyz(22.6386, 18.7800, 70.1282)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770DC #DCC357
analogous
#57B2DC #5770DC #8157DC
triadic
#5770DC #DC5770 #70DC57
tetradic
#5770DC #DC57B2 #DCC357 #57DC81
square
#5770DC #DC57B2 #DCC357 #57DC81
split-complementary
#5770DC #DC8157 #B2DC57
monochromatic
#203799 #2A49CB #5770DC #8A9BE7 #BCC6F1

Accessibility & contrast

On white

4.42
#5770DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5770DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770DC#FFFFFF#000000##000000
##5770DC1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#1C72DA
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5770dc;
/* rgb */ color: rgb(87, 112, 220);
/* oklch */ color: oklch(58.1% 0.167 270.6);
Tailwind
colors: {
  custom: {
    50: '#9298e7',
    500: '#5770dc',
    950: '#000000',
  },
}
SCSS
$custom: #5770dc;
$custom-light: #9298e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5770dc",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 228.722,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58145,
    "c": 0.1665,
    "h": 270.6
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5770DC

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

Preview Lab → · Contrast checker → · Palette generator →

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