#5B72E9#5B72E9

#5B72E9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.181 H 271.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B72E9
RGBrgb(91, 114, 233)
HSLhsl(230, 76%, 64%)
HSVhsv(230, 61%, 91%)
CMYKcmyk(60.9%, 51.1%, 0%, 8.6%)
CIE-LABlab(51.99, 27.43, -62.97)
CIE-LCHlch(51.99, 68.68, 293.54°)
OKLaboklab(59.65% 0.0052 -0.1804)
OKLCHoklch(59.65% 0.181 271.6)
XYZxyz(25.0348, 20.1399, 79.6431)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72E9 #E9D25B
analogous
#5BB9E9 #5B72E9 #8B5BE9
triadic
#5B72E9 #E95B72 #72E95B
tetradic
#5B72E9 #E95BB9 #E9D25B #5BE98B
square
#5B72E9 #E95BB9 #E9D25B #5BE98B
split-complementary
#5B72E9 #E98B5B #B9E95B
monochromatic
#1831B2 #2544E2 #5B72E9 #91A0F0 #C7CFF7

Accessibility & contrast

On white

4.18
#5B72E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5B72E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72E9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72E9#FFFFFF#000000##000000
##5B72E91.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b72e9;
/* rgb */ color: rgb(91, 114, 233);
/* oklch */ color: oklch(59.7% 0.181 271.6);
Tailwind
colors: {
  custom: {
    50: '#969af1',
    500: '#5b72e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b72e9;
$custom-light: #969af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72e9",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 230.282,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.18052,
    "h": 271.6
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#5B72E9
secondary
#E9E1B7
accent
#B80DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B72E9

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

Preview Lab → · Contrast checker → · Palette generator →

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