#5B72F0#5B72F0

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

Color values

HEX#5B72F0
RGBrgb(91, 114, 240)
HSLhsl(231, 83%, 65%)
HSVhsv(231, 62%, 94%)
CMYKcmyk(62.1%, 52.5%, 0%, 5.9%)
CIE-LABlab(52.45, 29.75, -66.15)
CIE-LCHlch(52.45, 72.53, 294.22°)
OKLaboklab(60.14% 0.0057 -0.1898)
OKLCHoklch(60.14% 0.19 271.7)
XYZxyz(26.0546, 20.5478, 85.0143)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72F0 #F0D95B
analogous
#5BBDF0 #5B72F0 #8E5BF0
triadic
#5B72F0 #F05B72 #72F05B
tetradic
#5B72F0 #F05BBD #F0D95B #5BF08E
square
#5B72F0 #F05BBD #F0D95B #5BF08E
split-complementary
#5B72F0 #F08E5B #BDF05B
monochromatic
#112CBF #2342EB #5B72F0 #93A2F5 #CBD2FA

Accessibility & contrast

On white

4.11
#5B72F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5B72F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72F0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72F0#FFFFFF#000000##000000
##5B72F01.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2084F4
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b72f0;
/* rgb */ color: rgb(91, 114, 240);
/* oklch */ color: oklch(60.1% 0.190 271.7);
Tailwind
colors: {
  custom: {
    50: '#979af6',
    500: '#5b72f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b72f0;
$custom-light: #979af6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72f0",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 230.738,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60143,
    "c": 0.18989,
    "h": 271.7
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#5B72F0
secondary
#EDE5BA
accent
#BE06E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B72F0

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

Preview Lab → · Contrast checker → · Palette generator →

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