#5B72EC#5B72EC

#5B72EC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.185 H 271.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5B72EC
RGBrgb(91, 114, 236)
HSLhsl(230, 79%, 64%)
HSVhsv(230, 61%, 93%)
CMYKcmyk(61.4%, 51.7%, 0%, 7.5%)
CIE-LABlab(52.19, 28.42, -64.34)
CIE-LCHlch(52.19, 70.33, 293.84°)
OKLaboklab(59.86% 0.0054 -0.1845)
OKLCHoklch(59.86% 0.185 271.7)
XYZxyz(25.4670, 20.3128, 81.9193)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72EC #ECD55B
analogous
#5BBBEC #5B72EC #8D5BEC
triadic
#5B72EC #EC5B72 #72EC5B
tetradic
#5B72EC #EC5BBB #ECD55B #5BEC8D
square
#5B72EC #EC5BBB #ECD55B #5BEC8D
split-complementary
#5B72EC #EC8D5B #BBEC5B
monochromatic
#152FB7 #2443E6 #5B72EC #92A1F2 #C9D0F9

Accessibility & contrast

On white

4.15
#5B72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5B72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72EC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72EC#FFFFFF#000000##000000
##5B72EC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b72ec;
/* rgb */ color: rgb(91, 114, 236);
/* oklch */ color: oklch(59.9% 0.185 271.7);
Tailwind
colors: {
  custom: {
    50: '#969af3',
    500: '#5b72ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b72ec;
$custom-light: #969af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72ec",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 230.483,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59863,
    "c": 0.18455,
    "h": 271.7
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#5B72EC
secondary
#EBE3B8
accent
#BA0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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