#5772E2#5772E2

#5772E2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.172 H 270.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5772E2
RGBrgb(87, 114, 226)
HSLhsl(228, 71%, 61%)
HSVhsv(228, 62%, 89%)
CMYKcmyk(61.5%, 49.6%, 0%, 11.4%)
CIE-LABlab(51.32, 24.39, -60.13)
CIE-LCHlch(51.32, 64.89, 292.07°)
OKLaboklab(58.95% 0.0006 -0.1722)
OKLCHoklch(58.95% 0.172 270.2)
XYZxyz(23.6706, 19.5498, 74.4629)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772E2 #E2C757
analogous
#57B8E2 #5772E2 #8257E2
triadic
#5772E2 #E25772 #72E257
tetradic
#5772E2 #E257B8 #E2C757 #57E282
square
#5772E2 #E257B8 #E2C757 #57E282
split-complementary
#5772E2 #E28257 #B8E257
monochromatic
#1C36A3 #2548D7 #5772E2 #8B9EEB #BFCAF4

Accessibility & contrast

On white

4.28
#5772E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5772E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772E2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772E2#FFFFFF#000000##000000
##5772E21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E6
Deuteranopia (green-blind)
#1374E0
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5772e2;
/* rgb */ color: rgb(87, 114, 226);
/* oklch */ color: oklch(58.9% 0.172 270.2);
Tailwind
colors: {
  custom: {
    50: '#939aec',
    500: '#5772e2',
    950: '#000000',
  },
}
SCSS
$custom: #5772e2;
$custom-light: #939aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5772e2",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 228.345,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.17218,
    "h": 270.2
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#5772E2
secondary
#E4DAB0
accent
#AD13D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772E2

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

Preview Lab → · Contrast checker → · Palette generator →

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