#5770E8#5770E8

#5770E8 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.183 H 270.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5770E8
RGBrgb(87, 112, 232)
HSLhsl(230, 76%, 63%)
HSVhsv(230, 63%, 91%)
CMYKcmyk(62.5%, 51.7%, 0%, 9%)
CIE-LABlab(51.20, 27.64, -63.71)
CIE-LCHlch(51.20, 69.44, 293.45°)
OKLaboklab(58.97% 0.003 -0.1827)
OKLCHoklch(58.97% 0.183 270.9)
XYZxyz(24.2852, 19.4387, 78.8005)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770E8 #E8CF57
analogous
#57B9E8 #5770E8 #8657E8
triadic
#5770E8 #E85770 #70E857
tetradic
#5770E8 #E857B9 #E8CF57 #57E886
square
#5770E8 #E857B9 #E8CF57 #57E886
split-complementary
#5770E8 #E88657 #B9E857
monochromatic
#1831AD #2142E1 #5770E8 #8D9EEF #C3CCF7

Accessibility & contrast

On white

4.30
#5770E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5770E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770E8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770E8#FFFFFF#000000##000000
##5770E81.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5770e8;
/* rgb */ color: rgb(87, 112, 232);
/* oklch */ color: oklch(59.0% 0.183 270.9);
Tailwind
colors: {
  custom: {
    50: '#9498f0',
    500: '#5770e8',
    950: '#000000',
  },
}
SCSS
$custom: #5770e8;
$custom-light: #9498f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5770e8",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 229.655,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.18275,
    "h": 270.9
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#5770E8
secondary
#E8DFB3
accent
#B50DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5770E8

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

Preview Lab → · Contrast checker → · Palette generator →

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