#5772D9#5772D9

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

Color values

HEX#5772D9
RGBrgb(87, 114, 217)
HSLhsl(228, 63%, 60%)
HSVhsv(228, 60%, 85%)
CMYKcmyk(59.9%, 47.5%, 0%, 14.9%)
CIE-LABlab(50.77, 21.37, -55.95)
CIE-LCHlch(50.77, 59.89, 290.90°)
OKLaboklab(58.34% -0.0005 -0.1599)
OKLCHoklch(58.34% 0.16 269.8)
XYZxyz(22.4680, 19.0688, 68.1288)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772D9 #D9BE57
analogous
#57B3D9 #5772D9 #7D57D9
triadic
#5772D9 #D95772 #72D957
tetradic
#5772D9 #D957B3 #D9BE57 #57D97D
square
#5772D9 #D957B3 #D9BE57 #57D97D
split-complementary
#5772D9 #D97D57 #B3D957
monochromatic
#213994 #2D4DC6 #5772D9 #899CE4 #BBC6F0

Accessibility & contrast

On white

4.36
#5772D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5772D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772D9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772D9#FFFFFF#000000##000000
##5772D91.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDD
Deuteranopia (green-blind)
#2873D7
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5772d9;
/* rgb */ color: rgb(87, 114, 217);
/* oklch */ color: oklch(58.3% 0.160 269.8);
Tailwind
colors: {
  custom: {
    50: '#919ae5',
    500: '#5772d9',
    950: '#000000',
  },
}
SCSS
$custom: #5772d9;
$custom-light: #919ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5772d9",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 217
  },
  "hsl": {
    "h": 227.538,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.15987,
    "h": 269.8
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#5772D9
secondary
#DFD5AD
accent
#C442E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772D9

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

Preview Lab → · Contrast checker → · Palette generator →

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