#5772CA#5772CA

#5772CA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.139 H 268.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5772CA
RGBrgb(87, 114, 202)
HSLhsl(226, 52%, 57%)
HSVhsv(226, 57%, 79%)
CMYKcmyk(56.9%, 43.6%, 0%, 20.8%)
CIE-LABlab(49.89, 16.37, -48.82)
CIE-LCHlch(49.89, 51.50, 288.54°)
OKLaboklab(57.39% -0.0027 -0.1389)
OKLCHoklch(57.39% 0.139 268.9)
XYZxyz(20.6049, 18.3235, 58.3167)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772CA #CAAF57
analogous
#57ACCA #5772CA #7657CA
triadic
#5772CA #CA5772 #72CA57
tetradic
#5772CA #CA57AC #CAAF57 #57CA76
square
#5772CA #CA57AC #CAAF57 #57CA76
split-complementary
#5772CA #CA7657 #ACCA57
monochromatic
#283C7F #3752AD #5772CA #8699D9 #B4C0E7

Accessibility & contrast

On white

4.50
#5772CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5772CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5772CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772CA#FFFFFF#000000##000000
##5772CA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#048594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5772ca;
/* rgb */ color: rgb(87, 114, 202);
/* oklch */ color: oklch(57.4% 0.139 268.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ada',
    500: '#5772ca',
    950: '#000000',
  },
}
SCSS
$custom: #5772ca;
$custom-light: #8f9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5772ca",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 225.913,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.13898,
    "h": 268.9
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#5772CA
secondary
#D6CBA7
accent
#BA4CDB
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5772CA

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

Preview Lab → · Contrast checker → · Palette generator →

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