#5B72E3#5B72E3

#5B72E3 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.172 H 271.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5B72E3
RGBrgb(91, 114, 227)
HSLhsl(230, 71%, 62%)
HSVhsv(230, 60%, 89%)
CMYKcmyk(59.9%, 49.8%, 0%, 11%)
CIE-LABlab(51.61, 25.43, -60.22)
CIE-LCHlch(51.61, 65.37, 292.90°)
OKLaboklab(59.24% 0.0046 -0.1723)
OKLCHoklch(59.24% 0.172 271.5)
XYZxyz(24.1922, 19.8029, 75.2056)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72E3 #E3CC5B
analogous
#5BB6E3 #5B72E3 #885BE3
triadic
#5B72E3 #E35B72 #72E35B
tetradic
#5B72E3 #E35BB6 #E3CC5B #5BE388
square
#5B72E3 #E35BB6 #E3CC5B #5BE388
split-complementary
#5B72E3 #E3885B #B6E35B
monochromatic
#1D34A7 #2745DA #5B72E3 #8F9FEC #C4CCF5

Accessibility & contrast

On white

4.23
#5B72E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5B72E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72E3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72E3#FFFFFF#000000##000000
##5B72E31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E7
Deuteranopia (green-blind)
#1675E1
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b72e3;
/* rgb */ color: rgb(91, 114, 227);
/* oklch */ color: oklch(59.2% 0.172 271.5);
Tailwind
colors: {
  custom: {
    50: '#959aec',
    500: '#5b72e3',
    950: '#000000',
  },
}
SCSS
$custom: #5b72e3;
$custom-light: #959aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72e3",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 227
  },
  "hsl": {
    "h": 229.853,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.17241,
    "h": 271.5
  },
  "luminance": 0.19805
}

Semantic roles & 50–950 ramp

primary
#5B72E3
secondary
#E6DDB4
accent
#B213D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B72E3

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

Preview Lab → · Contrast checker → · Palette generator →

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