#5772EA#5772EA

#5772EA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.183 H 270.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5772EA
RGBrgb(87, 114, 234)
HSLhsl(229, 78%, 63%)
HSVhsv(229, 63%, 92%)
CMYKcmyk(62.8%, 51.3%, 0%, 8.2%)
CIE-LABlab(51.84, 27.08, -63.80)
CIE-LCHlch(51.84, 69.31, 293.00°)
OKLaboklab(59.5% 0.0013 -0.183)
OKLCHoklch(59.5% 0.183 270.4)
XYZxyz(24.7941, 19.9992, 80.3796)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772EA #EACF57
analogous
#57BBEA #5772EA #8657EA
triadic
#5772EA #EA5772 #72EA57
tetradic
#5772EA #EA57BB #EACF57 #57EA86
square
#5772EA #EA57BB #EACF57 #57EA86
split-complementary
#5772EA #EA8657 #BBEA57
monochromatic
#1632B1 #2144E3 #5772EA #8DA0F1 #C4CDF8

Accessibility & contrast

On white

4.20
#5772EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5772EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772EA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772EA#FFFFFF#000000##000000
##5772EA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82EE
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5772ea;
/* rgb */ color: rgb(87, 114, 234);
/* oklch */ color: oklch(59.5% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#949af1',
    500: '#5772ea',
    950: '#000000',
  },
}
SCSS
$custom: #5772ea;
$custom-light: #949af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5772ea",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 228.98,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.18297,
    "h": 270.4
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#5772EA
secondary
#E9DFB4
accent
#B40BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5772EA

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

Preview Lab → · Contrast checker → · Palette generator →

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