#5772E8#5772E8

#5772E8 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.180 H 270.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5772E8
RGBrgb(87, 114, 232)
HSLhsl(229, 76%, 63%)
HSVhsv(229, 63%, 91%)
CMYKcmyk(62.5%, 50.9%, 0%, 9%)
CIE-LABlab(51.71, 26.41, -62.88)
CIE-LCHlch(51.71, 68.20, 292.78°)
OKLaboklab(59.36% 0.0011 -0.1803)
OKLCHoklch(59.36% 0.18 270.4)
XYZxyz(24.5084, 19.8849, 78.8749)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772E8 #E8CD57
analogous
#57BAE8 #5772E8 #8557E8
triadic
#5772E8 #E85772 #72E857
tetradic
#5772E8 #E857BA #E8CD57 #57E885
square
#5772E8 #E857BA #E8CD57 #57E885
split-complementary
#5772E8 #E88557 #BAE857
monochromatic
#1833AD #2145E1 #5772E8 #8D9FEF #C3CCF7

Accessibility & contrast

On white

4.22
#5772E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5772E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772E8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772E8#FFFFFF#000000##000000
##5772E81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5772e8;
/* rgb */ color: rgb(87, 114, 232);
/* oklch */ color: oklch(59.4% 0.180 270.4);
Tailwind
colors: {
  custom: {
    50: '#949af0',
    500: '#5772e8',
    950: '#000000',
  },
}
SCSS
$custom: #5772e8;
$custom-light: #949af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5772e8",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 228.828,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.18029,
    "h": 270.4
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#5772E8
secondary
#E8DEB3
accent
#B20DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5772E8

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

Preview Lab → · Contrast checker → · Palette generator →

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