#5770EA#5770EA

#5770EA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.185 H 271.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5770EA
RGBrgb(87, 112, 234)
HSLhsl(230, 78%, 63%)
HSVhsv(230, 63%, 92%)
CMYKcmyk(62.8%, 52.1%, 0%, 8.2%)
CIE-LABlab(51.33, 28.31, -64.62)
CIE-LCHlch(51.33, 70.55, 293.66°)
OKLaboklab(59.11% 0.0031 -0.1854)
OKLCHoklch(59.11% 0.185 271)
XYZxyz(24.5709, 19.5530, 80.3052)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770EA #EAD157
analogous
#57B9EA #5770EA #8757EA
triadic
#5770EA #EA5770 #70EA57
tetradic
#5770EA #EA57B9 #EAD157 #57EA87
square
#5770EA #EA57B9 #EAD157 #57EA87
split-complementary
#5770EA #EA8757 #B9EA57
monochromatic
#1630B1 #2142E3 #5770EA #8D9EF1 #C4CDF8

Accessibility & contrast

On white

4.28
#5770EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5770EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770EA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770EA#FFFFFF#000000##000000
##5770EA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2381EE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5770ea;
/* rgb */ color: rgb(87, 112, 234);
/* oklch */ color: oklch(59.1% 0.185 271.0);
Tailwind
colors: {
  custom: {
    50: '#9498f1',
    500: '#5770ea',
    950: '#000000',
  },
}
SCSS
$custom: #5770ea;
$custom-light: #9498f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5770ea",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 229.796,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.18544,
    "h": 271
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#5770EA
secondary
#E9E0B4
accent
#B70BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5770EA

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

Preview Lab → · Contrast checker → · Palette generator →

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