#5771FC#5771FC

#5771FC is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 60.6% C 0.208 H 270.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5771FC
RGBrgb(87, 113, 252)
HSLhsl(231, 96%, 66%)
HSVhsv(231, 65%, 99%)
CMYKcmyk(65.5%, 55.2%, 0%, 1.2%)
CIE-LABlab(52.80, 33.76, -72.26)
CIE-LCHlch(52.80, 79.76, 295.04°)
OKLaboklab(60.6% 0.0032 -0.2079)
OKLCHoklch(60.6% 0.208 270.9)
XYZxyz(27.4004, 20.8622, 94.6594)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771FC #FCE257
analogous
#57C4FC #5771FC #9057FC
triadic
#5771FC #FC5771 #71FC57
tetradic
#5771FC #FC57C4 #FCE257 #57FC90
square
#5771FC #FC57C4 #FCE257 #57FC90
split-complementary
#5771FC #FC9057 #C4FC57
monochromatic
#0425D5 #1B3EFB #5771FC #93A4FD #CFD7FE

Accessibility & contrast

On white

4.06
#5771FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5771FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771FC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771FC#FFFFFF#000000##000000
##5771FC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#0093AC
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5771fc;
/* rgb */ color: rgb(87, 113, 252);
/* oklch */ color: oklch(60.6% 0.208 270.9);
Tailwind
colors: {
  custom: {
    50: '#9799fe',
    500: '#5771fc',
    950: '#000000',
  },
}
SCSS
$custom: #5771fc;
$custom-light: #9799fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5771fc",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 230.545,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.20791,
    "h": 270.9
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5771FC

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

Preview Lab → · Contrast checker → · Palette generator →

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