#5772D2#5772D2

#5772D2 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.9% C 0.150 H 269.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5772D2
RGBrgb(87, 114, 210)
HSLhsl(227, 58%, 58%)
HSVhsv(227, 59%, 82%)
CMYKcmyk(58.6%, 45.7%, 0%, 17.6%)
CIE-LABlab(50.35, 19.03, -52.65)
CIE-LCHlch(50.35, 55.98, 289.87°)
OKLaboklab(57.89% -0.0014 -0.1502)
OKLCHoklch(57.89% 0.15 269.5)
XYZxyz(21.5768, 18.7123, 63.4351)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772D2 #D2B757
analogous
#57AFD2 #5772D2 #7957D2
triadic
#5772D2 #D25772 #72D257
tetradic
#5772D2 #D257AF #D2B757 #57D279
square
#5772D2 #D257AF #D2B757 #57D279
split-complementary
#5772D2 #D27957 #AFD257
monochromatic
#253B8A #3250BA #5772D2 #879BDF #B8C3EC

Accessibility & contrast

On white

4.43
#5772D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5772D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772D2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772D2#FFFFFF#000000##000000
##5772D21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#3373D0
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5772d2;
/* rgb */ color: rgb(87, 114, 210);
/* oklch */ color: oklch(57.9% 0.150 269.5);
Tailwind
colors: {
  custom: {
    50: '#909ae0',
    500: '#5772d2',
    950: '#000000',
  },
}
SCSS
$custom: #5772d2;
$custom-light: #909ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#5772d2",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 210
  },
  "hsl": {
    "h": 226.829,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.15018,
    "h": 269.5
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#5772D2
secondary
#DBD0AA
accent
#BF47E1
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5772D2

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

Preview Lab → · Contrast checker → · Palette generator →

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