#5772BC#5772BC

#5772BC is a mid, moderate blue. Relative luminance 0.177; OKLCH L 56.5% C 0.119 H 267.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5772BC
RGBrgb(87, 114, 188)
HSLhsl(224, 43%, 54%)
HSVhsv(224, 54%, 74%)
CMYKcmyk(53.7%, 39.4%, 0%, 26.3%)
CIE-LABlab(49.12, 11.78, -42.01)
CIE-LCHlch(49.12, 43.63, 285.67°)
OKLaboklab(56.55% -0.0054 -0.119)
OKLCHoklch(56.55% 0.119 267.4)
XYZxyz(19.0219, 17.6903, 49.9794)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772BC #BCA157
analogous
#57A5BC #5772BC #6F57BC
triadic
#5772BC #BC5772 #72BC57
tetradic
#5772BC #BC57A5 #BCA157 #57BC6F
square
#5772BC #BC57A5 #BCA157 #57BC6F
split-complementary
#5772BC #BC6F57 #A5BC57
monochromatic
#2C3D6D #3D5699 #5772BC #8397CD #AFBBDF

Accessibility & contrast

On white

4.63
#5772BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5772BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5772BC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772BC#FFFFFF#000000##FFFFFF
##5772BC1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#4871BA
Tritanopia (blue-blind)
#23828E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5772bc;
/* rgb */ color: rgb(87, 114, 188);
/* oklch */ color: oklch(56.5% 0.119 267.4);
Tailwind
colors: {
  custom: {
    50: '#8d9ad0',
    500: '#5772bc',
    950: '#000000',
  },
}
SCSS
$custom: #5772bc;
$custom-light: #8d9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5772bc",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 223.96,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56545,
    "c": 0.1191,
    "h": 267.4
  },
  "luminance": 0.17692
}

Semantic roles & 50–950 ramp

primary
#5772BC
secondary
#CDC1A2
accent
#B155D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5772BC

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

Preview Lab → · Contrast checker → · Palette generator →

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