#5E72E7#5E72E7

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

Color values

HEX#5E72E7
RGBrgb(94, 114, 231)
HSLhsl(231, 74%, 64%)
HSVhsv(231, 59%, 91%)
CMYKcmyk(59.3%, 50.6%, 0%, 9.4%)
CIE-LABlab(52.04, 27.30, -61.76)
CIE-LCHlch(52.04, 67.53, 293.84°)
OKLaboklab(59.7% 0.0081 -0.1768)
OKLCHoklch(59.7% 0.177 272.6)
XYZxyz(25.0524, 20.1818, 78.1611)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E72E7 #E7D35E
analogous
#5EB6E7 #5E72E7 #8E5EE7
triadic
#5E72E7 #E75E72 #72E75E
tetradic
#5E72E7 #E75EB6 #E7D35E #5EE78E
square
#5E72E7 #E75EB6 #E7D35E #5EE78E
split-complementary
#5E72E7 #E78E5E #B6E75E
monochromatic
#1A30B0 #2943DF #5E72E7 #93A1EF #C9CFF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E72E7#FFFFFF#000000##000000
##5E72E71.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)
#3182EB
Deuteranopia (green-blind)
#0C76E5
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e72e7;
/* rgb */ color: rgb(94, 114, 231);
/* oklch */ color: oklch(59.7% 0.177 272.6);
Tailwind
colors: {
  custom: {
    50: '#979aef',
    500: '#5e72e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e72e7;
$custom-light: #979aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e72e7",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 231.241,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.17701,
    "h": 272.6
  },
  "luminance": 0.20184
}

Semantic roles & 50–950 ramp

primary
#5E72E7
secondary
#E9E2B8
accent
#B90FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5E72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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