#5B72EF#5B72EF

#5B72EF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.1% C 0.189 H 271.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5B72EF
RGBrgb(91, 114, 239)
HSLhsl(231, 82%, 65%)
HSVhsv(231, 62%, 94%)
CMYKcmyk(61.9%, 52.3%, 0%, 6.3%)
CIE-LABlab(52.39, 29.42, -65.69)
CIE-LCHlch(52.39, 71.98, 294.13°)
OKLaboklab(60.07% 0.0056 -0.1885)
OKLCHoklch(60.07% 0.189 271.7)
XYZxyz(25.9065, 20.4886, 84.2341)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72EF #EFD85B
analogous
#5BBCEF #5B72EF #8E5BEF
triadic
#5B72EF #EF5B72 #72EF5B
tetradic
#5B72EF #EF5BBC #EFD85B #5BEF8E
square
#5B72EF #EF5BBC #EFD85B #5BEF8E
split-complementary
#5B72EF #EF8E5B #BCEF5B
monochromatic
#122DBD #2342EA #5B72EF #93A2F4 #CBD2FA

Accessibility & contrast

On white

4.12
#5B72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5B72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72EF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72EF#FFFFFF#000000##000000
##5B72EF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F3
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b72ef;
/* rgb */ color: rgb(91, 114, 239);
/* oklch */ color: oklch(60.1% 0.189 271.7);
Tailwind
colors: {
  custom: {
    50: '#979af5',
    500: '#5b72ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b72ef;
$custom-light: #979af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72ef",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 230.676,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.18855,
    "h": 271.7
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#5B72EF
secondary
#ECE4BA
accent
#BD07DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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