#5B72E8#5B72E8

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

Color values

HEX#5B72E8
RGBrgb(91, 114, 232)
HSLhsl(230, 75%, 63%)
HSVhsv(230, 61%, 91%)
CMYKcmyk(60.8%, 50.9%, 0%, 9%)
CIE-LABlab(51.93, 27.09, -62.51)
CIE-LCHlch(51.93, 68.13, 293.43°)
OKLaboklab(59.59% 0.0051 -0.1791)
OKLCHoklch(59.59% 0.179 271.6)
XYZxyz(24.8923, 20.0829, 78.8929)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72E8 #E8D15B
analogous
#5BB8E8 #5B72E8 #8A5BE8
triadic
#5B72E8 #E85B72 #72E85B
tetradic
#5B72E8 #E85BB8 #E8D15B #5BE88A
square
#5B72E8 #E85BB8 #E8D15B #5BE88A
split-complementary
#5B72E8 #E88A5B #B8E85B
monochromatic
#1931B0 #2544E0 #5B72E8 #91A0F0 #C6CEF7

Accessibility & contrast

On white

4.19
#5B72E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5B72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72E8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72E8#FFFFFF#000000##000000
##5B72E81.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EC
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b72e8;
/* rgb */ color: rgb(91, 114, 232);
/* oklch */ color: oklch(59.6% 0.179 271.6);
Tailwind
colors: {
  custom: {
    50: '#969af0',
    500: '#5b72e8',
    950: '#000000',
  },
}
SCSS
$custom: #5b72e8;
$custom-light: #969af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72e8",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 230.213,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59585,
    "c": 0.17917,
    "h": 271.6
  },
  "luminance": 0.20085
}

Semantic roles & 50–950 ramp

primary
#5B72E8
secondary
#E9E0B6
accent
#B70ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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