#5772DD#5772DD

#5772DD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.165 H 270.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5772DD
RGBrgb(87, 114, 221)
HSLhsl(228, 66%, 60%)
HSVhsv(228, 61%, 87%)
CMYKcmyk(60.6%, 48.4%, 0%, 13.3%)
CIE-LABlab(51.01, 22.71, -57.81)
CIE-LCHlch(51.01, 62.11, 291.44°)
OKLaboklab(58.61% 0 -0.1654)
OKLCHoklch(58.61% 0.165 270)
XYZxyz(22.9946, 19.2794, 70.9021)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772DD #DDC257
analogous
#57B5DD #5772DD #7F57DD
triadic
#5772DD #DD5772 #72DD57
tetradic
#5772DD #DD57B5 #DDC257 #57DD7F
square
#5772DD #DD57B5 #DDC257 #57DD7F
split-complementary
#5772DD #DD7F57 #B5DD57
monochromatic
#1F389A #2A4BCD #5772DD #8A9DE7 #BDC7F2

Accessibility & contrast

On white

4.32
#5772DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5772DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772DD#FFFFFF#000000##000000
##5772DD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E1
Deuteranopia (green-blind)
#2174DB
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5772dd;
/* rgb */ color: rgb(87, 114, 221);
/* oklch */ color: oklch(58.6% 0.165 270.0);
Tailwind
colors: {
  custom: {
    50: '#929ae8',
    500: '#5772dd',
    950: '#000000',
  },
}
SCSS
$custom: #5772dd;
$custom-light: #929ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5772dd",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 227.91,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58608,
    "c": 0.16537,
    "h": 270
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#5772DD
secondary
#E1D7AE
accent
#A917CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5772DD

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

Preview Lab → · Contrast checker → · Palette generator →

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