#5772CD#5772CD

#5772CD is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.143 H 269.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5772CD
RGBrgb(87, 114, 205)
HSLhsl(226, 54%, 57%)
HSVhsv(226, 58%, 80%)
CMYKcmyk(57.6%, 44.4%, 0%, 19.6%)
CIE-LABlab(50.06, 17.37, -50.26)
CIE-LCHlch(50.06, 53.18, 289.06°)
OKLaboklab(57.57% -0.0022 -0.1432)
OKLCHoklch(57.57% 0.143 269.1)
XYZxyz(20.9636, 18.4670, 60.2055)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772CD #CDB257
analogous
#57ADCD #5772CD #7757CD
triadic
#5772CD #CD5772 #72CD57
tetradic
#5772CD #CD57AD #CDB257 #57CD77
square
#5772CD #CD57AD #CDB257 #57CD77
split-complementary
#5772CD #CD7757 #ADCD57
monochromatic
#273C83 #3552B2 #5772CD #869ADB #B5C1E9

Accessibility & contrast

On white

4.47
#5772CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5772CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772CD#FFFFFF#000000##000000
##5772CD1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD0
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5772cd;
/* rgb */ color: rgb(87, 114, 205);
/* oklch */ color: oklch(57.6% 0.143 269.1);
Tailwind
colors: {
  custom: {
    50: '#8f9add',
    500: '#5772cd',
    950: '#000000',
  },
}
SCSS
$custom: #5772cd;
$custom-light: #8f9add;
$custom-dark: #000000;
JSON
{
  "hex": "#5772cd",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 226.271,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.1432,
    "h": 269.1
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#5772CD
secondary
#D8CDA8
accent
#BC4ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5772CD

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

Preview Lab → · Contrast checker → · Palette generator →

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