#5E52E4#5E52E4

#5E52E4 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.9% C 0.213 H 280.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E52E4
RGBrgb(94, 82, 228)
HSLhsl(245, 73%, 61%)
HSVhsv(245, 64%, 89%)
CMYKcmyk(58.8%, 64%, 0%, 10.6%)
CIE-LABlab(44.25, 45.56, -72.70)
CIE-LCHlch(44.25, 85.80, 302.08°)
OKLaboklab(53.85% 0.0376 -0.2092)
OKLCHoklch(53.85% 0.213 280.2)
XYZxyz(21.6326, 14.0142, 74.9488)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52E4 #D8E452
analogous
#528FE4 #5E52E4 #A752E4
triadic
#5E52E4 #E45E52 #52E45E
tetradic
#5E52E4 #E4528F #D8E452 #52E4A7
square
#5E52E4 #E4528F #D8E452 #52E4A7
split-complementary
#5E52E4 #E4A752 #8FE452
monochromatic
#2519A2 #3122D7 #5E52E4 #8F87EC #C1BCF5

Accessibility & contrast

On white

5.52
#5E52E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5E52E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52E4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52E4#FFFFFF#000000##FFFFFF
##5E52E41.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e52e4;
/* rgb */ color: rgb(94, 82, 228);
/* oklch */ color: oklch(53.9% 0.213 280.2);
Tailwind
colors: {
  custom: {
    50: '#9883ee',
    500: '#5e52e4',
    950: '#000000',
  },
}
SCSS
$custom: #5e52e4;
$custom-light: #9883ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52e4",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 244.932,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.21261,
    "h": 280.2
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#5E52E4
secondary
#E0E5AD
accent
#D510C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5E52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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