#5E72EA#5E72EA

#5E72EA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.181 H 272.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5E72EA
RGBrgb(94, 114, 234)
HSLhsl(231, 77%, 64%)
HSVhsv(231, 60%, 92%)
CMYKcmyk(59.8%, 51.3%, 0%, 8.2%)
CIE-LABlab(52.23, 28.28, -63.14)
CIE-LCHlch(52.23, 69.18, 294.13°)
OKLaboklab(59.9% 0.0083 -0.1809)
OKLCHoklch(59.9% 0.181 272.6)
XYZxyz(25.4798, 20.3528, 80.4117)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E72EA #EAD65E
analogous
#5EB8EA #5E72EA #905EEA
triadic
#5E72EA #EA5E72 #72EA5E
tetradic
#5E72EA #EA5EB8 #EAD65E #5EEA90
square
#5E72EA #EA5EB8 #EAD65E #5EEA90
split-complementary
#5E72EA #EA905E #B8EA5E
monochromatic
#182EB6 #2843E3 #5E72EA #94A1F1 #CAD1F8

Accessibility & contrast

On white

4.14
#5E72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5E72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E72EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E72EA#FFFFFF#000000##000000
##5E72EA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EE
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e72ea;
/* rgb */ color: rgb(94, 114, 234);
/* oklch */ color: oklch(59.9% 0.181 272.6);
Tailwind
colors: {
  custom: {
    50: '#979af1',
    500: '#5e72ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e72ea;
$custom-light: #979af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e72ea",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 231.429,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.18106,
    "h": 272.6
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#5E72EA
secondary
#EAE3BA
accent
#BC0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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