#5E52E8#5E52E8

#5E52E8 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.218 H 279.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5E52E8
RGBrgb(94, 82, 232)
HSLhsl(245, 77%, 62%)
HSVhsv(245, 65%, 91%)
CMYKcmyk(59.5%, 64.7%, 0%, 9%)
CIE-LABlab(44.57, 46.80, -74.45)
CIE-LCHlch(44.57, 87.94, 302.16°)
OKLaboklab(54.18% 0.0372 -0.2144)
OKLCHoklch(54.18% 0.218 279.9)
XYZxyz(22.1943, 14.2389, 77.9071)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52E8 #DCE852
analogous
#5291E8 #5E52E8 #A952E8
triadic
#5E52E8 #E85E52 #52E85E
tetradic
#5E52E8 #E85291 #DCE852 #52E8A9
square
#5E52E8 #E85291 #DCE852 #52E8A9
split-complementary
#5E52E8 #E8A952 #91E852
monochromatic
#2216A9 #2D1EDF #5E52E8 #9088EF #C3BEF6

Accessibility & contrast

On white

5.46
#5E52E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5E52E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52E8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52E8#FFFFFF#000000##FFFFFF
##5E52E81.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e52e8;
/* rgb */ color: rgb(94, 82, 232);
/* oklch */ color: oklch(54.2% 0.218 279.9);
Tailwind
colors: {
  custom: {
    50: '#9984f0',
    500: '#5e52e8',
    950: '#000000',
  },
}
SCSS
$custom: #5e52e8;
$custom-light: #9984f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52e8",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 244.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.21757,
    "h": 279.9
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#5E52E8
secondary
#E2E7AF
accent
#D90DC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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