#5B72CD#5B72CD

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

Color values

HEX#5B72CD
RGBrgb(91, 114, 205)
HSLhsl(228, 53%, 58%)
HSVhsv(228, 56%, 80%)
CMYKcmyk(55.6%, 44.4%, 0%, 19.6%)
CIE-LABlab(50.29, 18.18, -49.87)
CIE-LCHlch(50.29, 53.09, 290.03°)
OKLaboklab(57.81% 0.0018 -0.1419)
OKLCHoklch(57.81% 0.142 270.7)
XYZxyz(21.3475, 18.6650, 60.2235)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72CD #CDB65B
analogous
#5BABCD #5B72CD #7D5BCD
triadic
#5B72CD #CD5B72 #72CD5B
tetradic
#5B72CD #CD5BAB #CDB65B #5BCD7D
square
#5B72CD #CD5BAB #CDB65B #5BCD7D
split-complementary
#5B72CD #CD7D5B #ABCD5B
monochromatic
#293B85 #3750B4 #5B72CD #8A9ADB #B9C3EA

Accessibility & contrast

On white

4.44
#5B72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5B72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72CD#FFFFFF#000000##000000
##5B72CD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#188695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b72cd;
/* rgb */ color: rgb(91, 114, 205);
/* oklch */ color: oklch(57.8% 0.142 270.7);
Tailwind
colors: {
  custom: {
    50: '#929add',
    500: '#5b72cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b72cd;
$custom-light: #929add;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72cd",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 227.895,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.14196,
    "h": 270.7
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#5B72CD
secondary
#D9CFAB
accent
#BF4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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