#5772E6#5772E6

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

Color values

HEX#5772E6
RGBrgb(87, 114, 230)
HSLhsl(229, 74%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(62.2%, 50.4%, 0%, 9.8%)
CIE-LABlab(51.58, 25.73, -61.97)
CIE-LCHlch(51.58, 67.10, 292.55°)
OKLaboklab(59.22% 0.0009 -0.1776)
OKLCHoklch(59.22% 0.178 270.3)
XYZxyz(24.2259, 19.7719, 77.3873)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772E6 #E6CB57
analogous
#57BAE6 #5772E6 #8357E6
triadic
#5772E6 #E65772 #72E657
tetradic
#5772E6 #E657BA #E6CB57 #57E683
square
#5772E6 #E657BA #E6CB57 #57E683
split-complementary
#5772E6 #E68357 #BAE657
monochromatic
#1934A9 #2245DE #5772E6 #8C9FEE #C2CBF6

Accessibility & contrast

On white

4.24
#5772E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5772E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772E6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772E6#FFFFFF#000000##000000
##5772E61.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EA
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5772e6;
/* rgb */ color: rgb(87, 114, 230);
/* oklch */ color: oklch(59.2% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#939aef',
    500: '#5772e6',
    950: '#000000',
  },
}
SCSS
$custom: #5772e6;
$custom-light: #939aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5772e6",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 228.671,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.1776,
    "h": 270.3
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#5772E6
secondary
#E7DDB2
accent
#B10FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772E6

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

Preview Lab → · Contrast checker → · Palette generator →

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