#5770EF#5770EF

#5770EF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.192 H 271.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5770EF
RGBrgb(87, 112, 239)
HSLhsl(230, 83%, 64%)
HSVhsv(230, 64%, 94%)
CMYKcmyk(63.6%, 53.1%, 0%, 6.3%)
CIE-LABlab(51.66, 29.99, -66.88)
CIE-LCHlch(51.66, 73.29, 294.15°)
OKLaboklab(59.47% 0.0035 -0.1921)
OKLCHoklch(59.47% 0.192 271)
XYZxyz(25.2994, 19.8443, 84.1417)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770EF #EFD657
analogous
#57BCEF #5770EF #8A57EF
triadic
#5770EF #EF5770 #70EF57
tetradic
#5770EF #EF57BC #EFD657 #57EF8A
square
#5770EF #EF57BC #EFD657 #57EF8A
split-complementary
#5770EF #EF8A57 #BCEF57
monochromatic
#122DBA #1F40EA #5770EF #8FA0F4 #C7CFFA

Accessibility & contrast

On white

4.23
#5770EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5770EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770EF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770EF#FFFFFF#000000##000000
##5770EF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1682F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5770ef;
/* rgb */ color: rgb(87, 112, 239);
/* oklch */ color: oklch(59.5% 0.192 271.0);
Tailwind
colors: {
  custom: {
    50: '#9598f5',
    500: '#5770ef',
    950: '#000000',
  },
}
SCSS
$custom: #5770ef;
$custom-light: #9598f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5770ef",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 230.132,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.19209,
    "h": 271
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#5770EF
secondary
#ECE3B6
accent
#BB06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5770EF

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

Preview Lab → · Contrast checker → · Palette generator →

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