#5772CE#5772CE

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

Color values

HEX#5772CE
RGBrgb(87, 114, 206)
HSLhsl(226, 55%, 57%)
HSVhsv(226, 58%, 81%)
CMYKcmyk(57.8%, 44.7%, 0%, 19.2%)
CIE-LABlab(50.12, 17.70, -50.74)
CIE-LCHlch(50.12, 53.74, 289.23°)
OKLaboklab(57.64% -0.002 -0.1446)
OKLCHoklch(57.64% 0.145 269.2)
XYZxyz(21.0846, 18.5154, 60.8433)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772CE #CEB357
analogous
#57ADCE #5772CE #7857CE
triadic
#5772CE #CE5772 #72CE57
tetradic
#5772CE #CE57AD #CEB357 #57CE78
square
#5772CE #CE57AD #CEB357 #57CE78
split-complementary
#5772CE #CE7857 #ADCE57
monochromatic
#273C84 #3451B3 #5772CE #869ADC #B6C2EA

Accessibility & contrast

On white

4.46
#5772CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5772CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772CE#FFFFFF#000000##000000
##5772CE1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD1
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5772ce;
/* rgb */ color: rgb(87, 114, 206);
/* oklch */ color: oklch(57.6% 0.145 269.2);
Tailwind
colors: {
  custom: {
    50: '#909add',
    500: '#5772ce',
    950: '#000000',
  },
}
SCSS
$custom: #5772ce;
$custom-light: #909add;
$custom-dark: #000000;
JSON
{
  "hex": "#5772ce",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 226.387,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57635,
    "c": 0.14459,
    "h": 269.2
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#5772CE
secondary
#D8CEA8
accent
#BC4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5772CE

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

Preview Lab → · Contrast checker → · Palette generator →

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