#5770EB#5770EB

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

Color values

HEX#5770EB
RGBrgb(87, 112, 235)
HSLhsl(230, 79%, 63%)
HSVhsv(230, 63%, 92%)
CMYKcmyk(63%, 52.3%, 0%, 7.8%)
CIE-LABlab(51.39, 28.65, -65.07)
CIE-LCHlch(51.39, 71.10, 293.76°)
OKLaboklab(59.18% 0.0032 -0.1867)
OKLCHoklch(59.18% 0.187 271)
XYZxyz(24.7150, 19.6106, 81.0639)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770EB #EBD257
analogous
#57BAEB #5770EB #8857EB
triadic
#5770EB #EB5770 #70EB57
tetradic
#5770EB #EB57BA #EBD257 #57EB88
square
#5770EB #EB57BA #EBD257 #57EB88
split-complementary
#5770EB #EB8857 #BAEB57
monochromatic
#1530B2 #2041E4 #5770EB #8E9FF2 #C4CDF8

Accessibility & contrast

On white

4.27
#5770EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5770EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770EB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770EB#FFFFFF#000000##000000
##5770EB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5770eb;
/* rgb */ color: rgb(87, 112, 235);
/* oklch */ color: oklch(59.2% 0.187 271.0);
Tailwind
colors: {
  custom: {
    50: '#9498f2',
    500: '#5770eb',
    950: '#000000',
  },
}
SCSS
$custom: #5770eb;
$custom-light: #9498f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5770eb",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 229.865,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.18677,
    "h": 271
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5770EB

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

Preview Lab → · Contrast checker → · Palette generator →

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