#5772D8#5772D8

#5772D8 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.159 H 269.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5772D8
RGBrgb(87, 114, 216)
HSLhsl(227, 62%, 59%)
HSVhsv(227, 60%, 85%)
CMYKcmyk(59.7%, 47.2%, 0%, 15.3%)
CIE-LABlab(50.71, 21.03, -55.48)
CIE-LCHlch(50.71, 59.33, 290.76°)
OKLaboklab(58.28% -0.0006 -0.1585)
OKLCHoklch(58.28% 0.159 269.8)
XYZxyz(22.3383, 19.0169, 67.4459)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772D8 #D8BD57
analogous
#57B3D8 #5772D8 #7D57D8
triadic
#5772D8 #D85772 #72D857
tetradic
#5772D8 #D857B3 #D8BD57 #57D87D
square
#5772D8 #D857B3 #D8BD57 #57D87D
split-complementary
#5772D8 #D87D57 #B3D857
monochromatic
#223A93 #2E4DC4 #5772D8 #899CE4 #BAC5EF

Accessibility & contrast

On white

4.37
#5772D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5772D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772D8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772D8#FFFFFF#000000##000000
##5772D81.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407FDC
Deuteranopia (green-blind)
#2A73D6
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5772d8;
/* rgb */ color: rgb(87, 114, 216);
/* oklch */ color: oklch(58.3% 0.159 269.8);
Tailwind
colors: {
  custom: {
    50: '#919ae5',
    500: '#5772d8',
    950: '#000000',
  },
}
SCSS
$custom: #5772d8;
$custom-light: #919ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5772d8",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 227.442,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58277,
    "c": 0.1585,
    "h": 269.8
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#5772D8
secondary
#DFD4AC
accent
#C342E5
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772D8

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

Preview Lab → · Contrast checker → · Palette generator →

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