#5E52E2#5E52E2

#5E52E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.210 H 280.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5E52E2
RGBrgb(94, 82, 226)
HSLhsl(245, 71%, 60%)
HSVhsv(245, 64%, 89%)
CMYKcmyk(58.4%, 63.7%, 0%, 11.4%)
CIE-LABlab(44.09, 44.94, -71.83)
CIE-LCHlch(44.09, 84.73, 302.03°)
OKLaboklab(53.69% 0.0378 -0.2067)
OKLCHoklch(53.69% 0.21 280.4)
XYZxyz(21.3565, 13.9038, 73.4951)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52E2 #D6E252
analogous
#528EE2 #5E52E2 #A652E2
triadic
#5E52E2 #E25E52 #52E25E
tetradic
#5E52E2 #E2528E #D6E252 #52E2A6
square
#5E52E2 #E2528E #D6E252 #52E2A6
split-complementary
#5E52E2 #E2A652 #8EE252
monochromatic
#261B9F #3223D3 #5E52E2 #8F86EB #C0BBF4

Accessibility & contrast

On white

5.55
#5E52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5E52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52E2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52E2#FFFFFF#000000##FFFFFF
##5E52E21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e52e2;
/* rgb */ color: rgb(94, 82, 226);
/* oklch */ color: oklch(53.7% 0.210 280.4);
Tailwind
colors: {
  custom: {
    50: '#9883ec',
    500: '#5e52e2',
    950: '#000000',
  },
}
SCSS
$custom: #5e52e2;
$custom-light: #9883ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52e2",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 245,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.21011,
    "h": 280.4
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#5E52E2
secondary
#DFE3AC
accent
#D312C3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5E52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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