#5770FC#5770FC

#5770FC is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 60.4% C 0.209 H 271.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5770FC
RGBrgb(87, 112, 252)
HSLhsl(231, 96%, 66%)
HSVhsv(231, 65%, 99%)
CMYKcmyk(65.5%, 55.6%, 0%, 1.2%)
CIE-LABlab(52.55, 34.36, -72.66)
CIE-LCHlch(52.55, 80.38, 295.31°)
OKLaboklab(60.42% 0.0041 -0.2091)
OKLCHoklch(60.42% 0.209 271.1)
XYZxyz(27.2894, 20.6403, 94.6224)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770FC #FCE357
analogous
#57C3FC #5770FC #9157FC
triadic
#5770FC #FC5770 #70FC57
tetradic
#5770FC #FC57C3 #FCE357 #57FC91
square
#5770FC #FC57C3 #FCE357 #57FC91
split-complementary
#5770FC #FC9157 #C3FC57
monochromatic
#0423D5 #1B3DFB #5770FC #93A3FD #CFD6FE

Accessibility & contrast

On white

4.09
#5770FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5770FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770FC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770FC#FFFFFF#000000##000000
##5770FC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0076F9
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5770fc;
/* rgb */ color: rgb(87, 112, 252);
/* oklch */ color: oklch(60.4% 0.209 271.1);
Tailwind
colors: {
  custom: {
    50: '#9798fe',
    500: '#5770fc',
    950: '#000000',
  },
}
SCSS
$custom: #5770fc;
$custom-light: #9798fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5770fc",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 230.909,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60421,
    "c": 0.20911,
    "h": 271.1
  },
  "luminance": 0.20643
}

Semantic roles & 50–950 ramp

primary
#5770FC
secondary
#F2EABD
accent
#C300E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5770FC

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

Preview Lab → · Contrast checker → · Palette generator →

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