#5B72CC#5B72CC

#5B72CC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.141 H 270.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5B72CC
RGBrgb(91, 114, 204)
HSLhsl(228, 53%, 58%)
HSVhsv(228, 55%, 80%)
CMYKcmyk(55.4%, 44.1%, 0%, 20%)
CIE-LABlab(50.24, 17.86, -49.39)
CIE-LCHlch(50.24, 52.52, 289.88°)
OKLaboklab(57.75% 0.0017 -0.1405)
OKLCHoklch(57.75% 0.141 270.7)
XYZxyz(21.2272, 18.6169, 59.5899)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72CC #CCB55B
analogous
#5BAACC #5B72CC #7D5BCC
triadic
#5B72CC #CC5B72 #72CC5B
tetradic
#5B72CC #CC5BAA #CCB55B #5BCC7D
square
#5B72CC #CC5BAA #CCB55B #5BCC7D
split-complementary
#5B72CC #CC7D5B #AACC5B
monochromatic
#293B84 #3750B2 #5B72CC #8A9ADB #B8C2E9

Accessibility & contrast

On white

4.45
#5B72CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5B72CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72CC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72CC#FFFFFF#000000##000000
##5B72CC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DCF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#1A8695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b72cc;
/* rgb */ color: rgb(91, 114, 204);
/* oklch */ color: oklch(57.8% 0.141 270.7);
Tailwind
colors: {
  custom: {
    50: '#919adc',
    500: '#5b72cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b72cc;
$custom-light: #919adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72cc",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 227.788,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.14055,
    "h": 270.7
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#5B72CC
secondary
#D8CFAB
accent
#BF4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B72CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5B72CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva