#5770E4#5770E4

#5770E4 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.177 H 270.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5770E4
RGBrgb(87, 112, 228)
HSLhsl(229, 72%, 62%)
HSVhsv(229, 62%, 89%)
CMYKcmyk(61.8%, 50.9%, 0%, 10.6%)
CIE-LABlab(50.94, 26.29, -61.88)
CIE-LCHlch(50.94, 67.23, 293.02°)
OKLaboklab(58.69% 0.0027 -0.1774)
OKLCHoklch(58.69% 0.177 270.9)
XYZxyz(23.7235, 19.2140, 75.8422)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770E4 #E4CB57
analogous
#57B6E4 #5770E4 #8557E4
triadic
#5770E4 #E45770 #70E457
tetradic
#5770E4 #E457B6 #E4CB57 #57E485
square
#5770E4 #E457B6 #E4CB57 #57E485
split-complementary
#5770E4 #E48557 #B6E457
monochromatic
#1B33A6 #2344DB #5770E4 #8C9DEC #C0CAF5

Accessibility & contrast

On white

4.34
#5770E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5770E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770E4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770E4#FFFFFF#000000##000000
##5770E41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5770e4;
/* rgb */ color: rgb(87, 112, 228);
/* oklch */ color: oklch(58.7% 0.177 270.9);
Tailwind
colors: {
  custom: {
    50: '#9398ed',
    500: '#5770e4',
    950: '#000000',
  },
}
SCSS
$custom: #5770e4;
$custom-light: #9398ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5770e4",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 229.362,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58692,
    "c": 0.17738,
    "h": 270.9
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#5770E4
secondary
#E6DCB1
accent
#B211D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5770E4

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

Preview Lab → · Contrast checker → · Palette generator →

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