#5772E3#5772E3

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

Color values

HEX#5772E3
RGBrgb(87, 114, 227)
HSLhsl(228, 71%, 62%)
HSVhsv(228, 62%, 89%)
CMYKcmyk(61.7%, 49.8%, 0%, 11%)
CIE-LABlab(51.39, 24.72, -60.59)
CIE-LCHlch(51.39, 65.44, 292.20°)
OKLaboklab(59.01% 0.0007 -0.1735)
OKLCHoklch(59.01% 0.174 270.2)
XYZxyz(23.8083, 19.6049, 75.1876)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772E3 #E3C857
analogous
#57B8E3 #5772E3 #8257E3
triadic
#5772E3 #E35772 #72E357
tetradic
#5772E3 #E357B8 #E3C857 #57E382
square
#5772E3 #E357B8 #E3C857 #57E382
split-complementary
#5772E3 #E38257 #B8E357
monochromatic
#1B36A4 #2447D9 #5772E3 #8B9EEC #C0CAF4

Accessibility & contrast

On white

4.27
#5772E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5772E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772E3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772E3#FFFFFF#000000##000000
##5772E31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E7
Deuteranopia (green-blind)
#0F75E1
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5772e3;
/* rgb */ color: rgb(87, 114, 227);
/* oklch */ color: oklch(59.0% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#939aec',
    500: '#5772e3',
    950: '#000000',
  },
}
SCSS
$custom: #5772e3;
$custom-light: #939aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5772e3",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 227
  },
  "hsl": {
    "h": 228.429,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59013,
    "c": 0.17354,
    "h": 270.2
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#5772E3
secondary
#E5DBB1
accent
#AE12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772E3

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

Preview Lab → · Contrast checker → · Palette generator →

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