#5E72EC#5E72EC

#5E72EC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.184 H 272.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5E72EC
RGBrgb(94, 114, 236)
HSLhsl(232, 79%, 65%)
HSVhsv(232, 60%, 93%)
CMYKcmyk(60.2%, 51.7%, 0%, 7.5%)
CIE-LABlab(52.36, 28.94, -64.05)
CIE-LCHlch(52.36, 70.28, 294.32°)
OKLaboklab(60.04% 0.0085 -0.1835)
OKLCHoklch(60.04% 0.184 272.6)
XYZxyz(25.7687, 20.4684, 81.9335)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E72EC #ECD85E
analogous
#5EB9EC #5E72EC #915EEC
triadic
#5E72EC #EC5E72 #72EC5E
tetradic
#5E72EC #EC5EB9 #ECD85E #5EEC91
square
#5E72EC #EC5EB9 #ECD85E #5EEC91
split-complementary
#5E72EC #EC915E #B9EC5E
monochromatic
#162DBA #2742E6 #5E72EC #95A2F2 #CBD2F9

Accessibility & contrast

On white

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

On black

5.09
#5E72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E72EC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E72EC#FFFFFF#000000##000000
##5E72EC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e72ec;
/* rgb */ color: rgb(94, 114, 236);
/* oklch */ color: oklch(60.0% 0.184 272.6);
Tailwind
colors: {
  custom: {
    50: '#989af3',
    500: '#5e72ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e72ec;
$custom-light: #989af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e72ec",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 231.549,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.18375,
    "h": 272.6
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#5E72EC
secondary
#EBE4BB
accent
#BE0ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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