#5772E5#5772E5

#5772E5 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.176 H 270.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5772E5
RGBrgb(87, 114, 229)
HSLhsl(229, 73%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(62%, 50.2%, 0%, 10.2%)
CIE-LABlab(51.51, 25.40, -61.51)
CIE-LCHlch(51.51, 66.55, 292.43°)
OKLaboklab(59.15% 0.0009 -0.1762)
OKLCHoklch(59.15% 0.176 270.3)
XYZxyz(24.0859, 19.7159, 76.6498)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772E5 #E5CA57
analogous
#57B9E5 #5772E5 #8357E5
triadic
#5772E5 #E55772 #72E557
tetradic
#5772E5 #E557B9 #E5CA57 #57E583
square
#5772E5 #E557B9 #E5CA57 #57E583
split-complementary
#5772E5 #E58357 #B9E557
monochromatic
#1A35A8 #2246DD #5772E5 #8C9EED #C1CBF5

Accessibility & contrast

On white

4.25
#5772E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5772E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772E5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772E5#FFFFFF#000000##000000
##5772E51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E9
Deuteranopia (green-blind)
#0475E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5772e5;
/* rgb */ color: rgb(87, 114, 229);
/* oklch */ color: oklch(59.2% 0.176 270.3);
Tailwind
colors: {
  custom: {
    50: '#939aee',
    500: '#5772e5',
    950: '#000000',
  },
}
SCSS
$custom: #5772e5;
$custom-light: #939aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5772e5",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 228.592,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.17625,
    "h": 270.3
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#5772E5
secondary
#E6DCB2
accent
#B010D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772E5

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

Preview Lab → · Contrast checker → · Palette generator →

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