#5770E5#5770E5

#5770E5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.179 H 270.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5770E5
RGBrgb(87, 112, 229)
HSLhsl(229, 73%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(62%, 51.1%, 0%, 10.2%)
CIE-LABlab(51.00, 26.63, -62.34)
CIE-LCHlch(51.00, 67.79, 293.13°)
OKLaboklab(58.76% 0.0027 -0.1787)
OKLCHoklch(58.76% 0.179 270.9)
XYZxyz(23.8628, 19.2697, 76.5754)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770E5 #E5CC57
analogous
#57B7E5 #5770E5 #8557E5
triadic
#5770E5 #E55770 #70E557
tetradic
#5770E5 #E557B7 #E5CC57 #57E585
square
#5770E5 #E557B7 #E5CC57 #57E585
split-complementary
#5770E5 #E58557 #B7E557
monochromatic
#1A33A8 #2243DD #5770E5 #8C9DED #C1CAF5

Accessibility & contrast

On white

4.33
#5770E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5770E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770E5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770E5#FFFFFF#000000##000000
##5770E51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5770e5;
/* rgb */ color: rgb(87, 112, 229);
/* oklch */ color: oklch(58.8% 0.179 270.9);
Tailwind
colors: {
  custom: {
    50: '#9398ee',
    500: '#5770e5',
    950: '#000000',
  },
}
SCSS
$custom: #5770e5;
$custom-light: #9398ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5770e5",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 229.437,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.17872,
    "h": 270.9
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#5770E5
secondary
#E6DDB2
accent
#B310D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5770E5

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

Preview Lab → · Contrast checker → · Palette generator →

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