#5770F1#5770F1

#5770F1 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.195 H 271.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5770F1
RGBrgb(87, 112, 241)
HSLhsl(230, 85%, 64%)
HSVhsv(230, 64%, 95%)
CMYKcmyk(63.9%, 53.5%, 0%, 5.5%)
CIE-LABlab(51.80, 30.66, -67.77)
CIE-LCHlch(51.80, 74.39, 294.34°)
OKLaboklab(59.61% 0.0036 -0.1947)
OKLCHoklch(59.61% 0.195 271.1)
XYZxyz(25.5965, 19.9632, 85.7064)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770F1 #F1D857
analogous
#57BDF1 #5770F1 #8B57F1
triadic
#5770F1 #F15770 #70F157
tetradic
#5770F1 #F157BD #F1D857 #57F18B
square
#5770F1 #F157BD #F1D857 #57F18B
split-complementary
#5770F1 #F18B57 #BDF157
monochromatic
#102CBE #1F40EC #5770F1 #8FA0F6 #C8D0FA

Accessibility & contrast

On white

4.21
#5770F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5770F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770F1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770F1#FFFFFF#000000##000000
##5770F11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F83F5
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5770f1;
/* rgb */ color: rgb(87, 112, 241);
/* oklch */ color: oklch(59.6% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#9598f6',
    500: '#5770f1',
    950: '#000000',
  },
}
SCSS
$custom: #5770f1;
$custom-light: #9598f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5770f1",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 230.26,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59613,
    "c": 0.19473,
    "h": 271.1
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#5770F1
secondary
#EDE4B7
accent
#BD04E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5770F1

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

Preview Lab → · Contrast checker → · Palette generator →

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