#5B72E7#5B72E7

#5B72E7 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.178 H 271.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5B72E7
RGBrgb(91, 114, 231)
HSLhsl(230, 74%, 63%)
HSVhsv(230, 61%, 91%)
CMYKcmyk(60.6%, 50.6%, 0%, 9.4%)
CIE-LABlab(51.87, 26.76, -62.05)
CIE-LCHlch(51.87, 67.58, 293.33°)
OKLaboklab(59.52% 0.005 -0.1778)
OKLCHoklch(59.52% 0.178 271.6)
XYZxyz(24.7507, 20.0263, 78.1470)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72E7 #E7D05B
analogous
#5BB8E7 #5B72E7 #8A5BE7
triadic
#5B72E7 #E75B72 #72E75B
tetradic
#5B72E7 #E75BB8 #E7D05B #5BE78A
square
#5B72E7 #E75BB8 #E7D05B #5BE78A
split-complementary
#5B72E7 #E78A5B #B8E75B
monochromatic
#1932AE #2644DF #5B72E7 #90A0EF #C6CEF7

Accessibility & contrast

On white

4.20
#5B72E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5B72E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72E7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72E7#FFFFFF#000000##000000
##5B72E71.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#0476E5
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b72e7;
/* rgb */ color: rgb(91, 114, 231);
/* oklch */ color: oklch(59.5% 0.178 271.6);
Tailwind
colors: {
  custom: {
    50: '#959aef',
    500: '#5b72e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b72e7;
$custom-light: #959aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72e7",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 230.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.17783,
    "h": 271.6
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#5B72E7
secondary
#E8E0B6
accent
#B60FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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