#5772CB#5772CB

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

Color values

HEX#5772CB
RGBrgb(87, 114, 203)
HSLhsl(226, 53%, 57%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(57.1%, 43.8%, 0%, 20.4%)
CIE-LABlab(49.94, 16.70, -49.30)
CIE-LCHlch(49.94, 52.06, 288.71°)
OKLaboklab(57.45% -0.0025 -0.1404)
OKLCHoklch(57.45% 0.14 269)
XYZxyz(20.7237, 18.3711, 58.9422)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772CB #CBB057
analogous
#57ACCB #5772CB #7657CB
triadic
#5772CB #CB5772 #72CB57
tetradic
#5772CB #CB57AC #CBB057 #57CB76
square
#5772CB #CB57AC #CBB057 #57CB76
split-complementary
#5772CB #CB7657 #ACCB57
monochromatic
#283C80 #3652AF #5772CB #8699D9 #B4C0E8

Accessibility & contrast

On white

4.49
#5772CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5772CB#FFFFFF#000000##000000
##5772CB1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5772cb;
/* rgb */ color: rgb(87, 114, 203);
/* oklch */ color: oklch(57.4% 0.140 269.0);
Tailwind
colors: {
  custom: {
    50: '#8f9adb',
    500: '#5772cb',
    950: '#000000',
  },
}
SCSS
$custom: #5772cb;
$custom-light: #8f9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5772cb",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 226.034,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.14038,
    "h": 269
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#5772CB
secondary
#D7CCA7
accent
#BB4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5772CB

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

Preview Lab → · Contrast checker → · Palette generator →

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