#5772FC#5772FC

#5772FC is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 60.8% C 0.207 H 270.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5772FC
RGBrgb(87, 114, 252)
HSLhsl(230, 96%, 66%)
HSVhsv(230, 65%, 99%)
CMYKcmyk(65.5%, 54.8%, 0%, 1.2%)
CIE-LABlab(53.04, 33.15, -71.87)
CIE-LCHlch(53.04, 79.14, 294.76°)
OKLaboklab(60.79% 0.0024 -0.2067)
OKLCHoklch(60.79% 0.207 270.7)
XYZxyz(27.5125, 21.0866, 94.6968)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772FC #FCE157
analogous
#57C5FC #5772FC #8F57FC
triadic
#5772FC #FC5772 #72FC57
tetradic
#5772FC #FC57C5 #FCE157 #57FC8F
square
#5772FC #FC57C5 #FCE157 #57FC8F
split-complementary
#5772FC #FC8F57 #C5FC57
monochromatic
#0426D5 #1B40FB #5772FC #93A4FD #CFD7FE

Accessibility & contrast

On white

4.02
#5772FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5772FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772FC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772FC#FFFFFF#000000##000000
##5772FC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5772fc;
/* rgb */ color: rgb(87, 114, 252);
/* oklch */ color: oklch(60.8% 0.207 270.7);
Tailwind
colors: {
  custom: {
    50: '#979afe',
    500: '#5772fc',
    950: '#000000',
  },
}
SCSS
$custom: #5772fc;
$custom-light: #979afe;
$custom-dark: #000000;
JSON
{
  "hex": "#5772fc",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 230.182,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.20672,
    "h": 270.7
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#5772FC
secondary
#F2E9BD
accent
#C000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5772FC

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

Preview Lab → · Contrast checker → · Palette generator →

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