#5B72ED#5B72ED

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

Color values

HEX#5B72ED
RGBrgb(91, 114, 237)
HSLhsl(231, 80%, 64%)
HSVhsv(231, 62%, 93%)
CMYKcmyk(61.6%, 51.9%, 0%, 7.1%)
CIE-LABlab(52.25, 28.76, -64.79)
CIE-LCHlch(52.25, 70.88, 293.93°)
OKLaboklab(59.93% 0.0055 -0.1858)
OKLCHoklch(59.93% 0.186 271.7)
XYZxyz(25.6127, 20.3710, 82.6866)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72ED #EDD65B
analogous
#5BBBED #5B72ED #8D5BED
triadic
#5B72ED #ED5B72 #72ED5B
tetradic
#5B72ED #ED5BBB #EDD65B #5BED8D
square
#5B72ED #ED5BBB #EDD65B #5BED8D
split-complementary
#5B72ED #ED8D5B #BBED5B
monochromatic
#142EB9 #2443E7 #5B72ED #92A1F3 #C9D1F9

Accessibility & contrast

On white

4.14
#5B72ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5B72ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72ED
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72ED#FFFFFF#000000##000000
##5B72ED1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b72ed;
/* rgb */ color: rgb(91, 114, 237);
/* oklch */ color: oklch(59.9% 0.186 271.7);
Tailwind
colors: {
  custom: {
    50: '#969af4',
    500: '#5b72ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b72ed;
$custom-light: #969af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72ed",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 230.548,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.18588,
    "h": 271.7
  },
  "luminance": 0.20373
}

Semantic roles & 50–950 ramp

primary
#5B72ED
secondary
#EBE3B9
accent
#BB09DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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