#5B72EA#5B72EA

#5B72EA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.7% C 0.182 H 271.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5B72EA
RGBrgb(91, 114, 234)
HSLhsl(230, 77%, 64%)
HSVhsv(230, 61%, 92%)
CMYKcmyk(61.1%, 51.3%, 0%, 8.2%)
CIE-LABlab(52.06, 27.76, -63.43)
CIE-LCHlch(52.06, 69.23, 293.64°)
OKLaboklab(59.72% 0.0053 -0.1818)
OKLCHoklch(59.72% 0.182 271.7)
XYZxyz(25.1780, 20.1972, 80.3976)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72EA #EAD35B
analogous
#5BB9EA #5B72EA #8B5BEA
triadic
#5B72EA #EA5B72 #72EA5B
tetradic
#5B72EA #EA5BB9 #EAD35B #5BEA8B
square
#5B72EA #EA5BB9 #EAD35B #5BEA8B
split-complementary
#5B72EA #EA8B5B #B9EA5B
monochromatic
#1730B4 #2543E3 #5B72EA #91A1F1 #C8CFF8

Accessibility & contrast

On white

4.17
#5B72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5B72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72EA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72EA#FFFFFF#000000##000000
##5B72EA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b72ea;
/* rgb */ color: rgb(91, 114, 234);
/* oklch */ color: oklch(59.7% 0.182 271.7);
Tailwind
colors: {
  custom: {
    50: '#969af1',
    500: '#5b72ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b72ea;
$custom-light: #969af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72ea",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 230.35,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.18187,
    "h": 271.7
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#5B72EA
secondary
#EAE2B7
accent
#B80CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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