#5772CC#5772CC

#5772CC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.5% C 0.142 H 269.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5772CC
RGBrgb(87, 114, 204)
HSLhsl(226, 53%, 57%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(57.4%, 44.1%, 0%, 20%)
CIE-LABlab(50.00, 17.03, -49.78)
CIE-LCHlch(50.00, 52.62, 288.89°)
OKLaboklab(57.51% -0.0024 -0.1418)
OKLCHoklch(57.51% 0.142 269)
XYZxyz(20.8432, 18.4189, 59.5719)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772CC #CCB157
analogous
#57ADCC #5772CC #7757CC
triadic
#5772CC #CC5772 #72CC57
tetradic
#5772CC #CC57AD #CCB157 #57CC77
square
#5772CC #CC57AD #CCB157 #57CC77
split-complementary
#5772CC #CC7757 #ADCC57
monochromatic
#273C81 #3652B0 #5772CC #8699DA #B5C1E9

Accessibility & contrast

On white

4.48
#5772CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5772CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772CC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772CC#FFFFFF#000000##000000
##5772CC1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5772cc;
/* rgb */ color: rgb(87, 114, 204);
/* oklch */ color: oklch(57.5% 0.142 269.0);
Tailwind
colors: {
  custom: {
    50: '#8f9adc',
    500: '#5772cc',
    950: '#000000',
  },
}
SCSS
$custom: #5772cc;
$custom-light: #8f9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5772cc",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 226.154,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.14179,
    "h": 269
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#5772CC
secondary
#D7CCA8
accent
#BB4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5772CC

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

Preview Lab → · Contrast checker → · Palette generator →

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