#5B72CE#5B72CE

#5B72CE is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.9% C 0.143 H 270.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5B72CE
RGBrgb(91, 114, 206)
HSLhsl(228, 54%, 58%)
HSVhsv(228, 56%, 81%)
CMYKcmyk(55.8%, 44.7%, 0%, 19.2%)
CIE-LABlab(50.35, 18.51, -50.35)
CIE-LCHlch(50.35, 53.65, 290.18°)
OKLaboklab(57.88% 0.002 -0.1434)
OKLCHoklch(57.88% 0.143 270.8)
XYZxyz(21.4686, 18.7134, 60.8613)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72CE #CEB75B
analogous
#5BABCE #5B72CE #7D5BCE
triadic
#5B72CE #CE5B72 #72CE5B
tetradic
#5B72CE #CE5BAB #CEB75B #5BCE7D
square
#5B72CE #CE5BAB #CEB75B #5BCE7D
split-complementary
#5B72CE #CE7D5B #ABCE5B
monochromatic
#283B86 #3650B6 #5B72CE #8A9BDC #B9C3EA

Accessibility & contrast

On white

4.43
#5B72CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5B72CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72CE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72CE#FFFFFF#000000##000000
##5B72CE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#168696
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b72ce;
/* rgb */ color: rgb(91, 114, 206);
/* oklch */ color: oklch(57.9% 0.143 270.8);
Tailwind
colors: {
  custom: {
    50: '#929add',
    500: '#5b72ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b72ce;
$custom-light: #929add;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72ce",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 228,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.14337,
    "h": 270.8
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#5B72CE
secondary
#D9D0AB
accent
#C04ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B72CE

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

Preview Lab → · Contrast checker → · Palette generator →

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