#5772E1#5772E1

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

Color values

HEX#5772E1
RGBrgb(87, 114, 225)
HSLhsl(228, 70%, 61%)
HSVhsv(228, 61%, 88%)
CMYKcmyk(61.3%, 49.3%, 0%, 11.8%)
CIE-LABlab(51.26, 24.05, -59.67)
CIE-LCHlch(51.26, 64.33, 291.95°)
OKLaboklab(58.88% 0.0005 -0.1708)
OKLCHoklch(58.88% 0.171 270.2)
XYZxyz(23.5338, 19.4951, 73.7423)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772E1 #E1C657
analogous
#57B7E1 #5772E1 #8157E1
triadic
#5772E1 #E15772 #72E157
tetradic
#5772E1 #E157B7 #E1C657 #57E181
square
#5772E1 #E157B7 #E1C657 #57E181
split-complementary
#5772E1 #E18157 #B7E157
monochromatic
#1D37A1 #2648D5 #5772E1 #8B9EEA #BFC9F4

Accessibility & contrast

On white

4.29
#5772E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5772E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772E1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772E1#FFFFFF#000000##000000
##5772E11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E5
Deuteranopia (green-blind)
#1674DF
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5772e1;
/* rgb */ color: rgb(87, 114, 225);
/* oklch */ color: oklch(58.9% 0.171 270.2);
Tailwind
colors: {
  custom: {
    50: '#939aeb',
    500: '#5772e1',
    950: '#000000',
  },
}
SCSS
$custom: #5772e1;
$custom-light: #939aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5772e1",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 228.261,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.17083,
    "h": 270.2
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5772E1

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

Preview Lab → · Contrast checker → · Palette generator →

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