#5770CD#5770CD

#5770CD is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.146 H 270.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5770CD
RGBrgb(87, 112, 205)
HSLhsl(227, 54%, 57%)
HSVhsv(227, 58%, 80%)
CMYKcmyk(57.6%, 45.4%, 0%, 19.6%)
CIE-LABlab(49.52, 18.60, -51.12)
CIE-LCHlch(49.52, 54.40, 290.00°)
OKLaboklab(57.16% -0.0001 -0.1457)
OKLCHoklch(57.16% 0.146 270)
XYZxyz(20.7404, 18.0207, 60.1312)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770CD #CDB457
analogous
#57ABCD #5770CD #7957CD
triadic
#5770CD #CD5770 #70CD57
tetradic
#5770CD #CD57AB #CDB457 #57CD79
square
#5770CD #CD57AB #CDB457 #57CD79
split-complementary
#5770CD #CD7957 #ABCD57
monochromatic
#273A83 #354FB2 #5770CD #8698DB #B5C0E9

Accessibility & contrast

On white

4.56
#5770CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5770CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770CD#FFFFFF#000000##000000
##5770CD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5770cd;
/* rgb */ color: rgb(87, 112, 205);
/* oklch */ color: oklch(57.2% 0.146 270.0);
Tailwind
colors: {
  custom: {
    50: '#8f98dd',
    500: '#5770cd',
    950: '#000000',
  },
}
SCSS
$custom: #5770cd;
$custom-light: #8f98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5770cd",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 227.288,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57162,
    "c": 0.14572,
    "h": 270
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#5770CD
secondary
#D8CEA8
accent
#BE4ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5770CD

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

Preview Lab → · Contrast checker → · Palette generator →

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