#5772DA#5772DA

#5772DA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.161 H 269.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5772DA
RGBrgb(87, 114, 218)
HSLhsl(228, 64%, 60%)
HSVhsv(228, 60%, 85%)
CMYKcmyk(60.1%, 47.7%, 0%, 14.5%)
CIE-LABlab(50.83, 21.70, -56.41)
CIE-LCHlch(50.83, 60.44, 291.04°)
OKLaboklab(58.41% -0.0003 -0.1612)
OKLCHoklch(58.41% 0.161 269.9)
XYZxyz(22.5984, 19.1210, 68.8159)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772DA #DABF57
analogous
#57B3DA #5772DA #7E57DA
triadic
#5772DA #DA5772 #72DA57
tetradic
#5772DA #DA57B3 #DABF57 #57DA7E
square
#5772DA #DA57B3 #DABF57 #57DA7E
split-complementary
#5772DA #DA7E57 #B3DA57
monochromatic
#213996 #2C4CC8 #5772DA #899CE5 #BBC6F0

Accessibility & contrast

On white

4.35
#5772DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5772DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772DA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772DA#FFFFFF#000000##000000
##5772DA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDE
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5772da;
/* rgb */ color: rgb(87, 114, 218);
/* oklch */ color: oklch(58.4% 0.161 269.9);
Tailwind
colors: {
  custom: {
    50: '#919ae6',
    500: '#5772da',
    950: '#000000',
  },
}
SCSS
$custom: #5772da;
$custom-light: #919ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5772da",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 227.634,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58409,
    "c": 0.16125,
    "h": 269.9
  },
  "luminance": 0.19123
}

Semantic roles & 50–950 ramp

primary
#5772DA
secondary
#E0D5AD
accent
#C541E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772DA

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

Preview Lab → · Contrast checker → · Palette generator →

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