#5E52DA#5E52DA

#5E52DA is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.0% C 0.200 H 281.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5E52DA
RGBrgb(94, 82, 218)
HSLhsl(245, 65%, 59%)
HSVhsv(245, 62%, 85%)
CMYKcmyk(56.9%, 62.4%, 0%, 14.5%)
CIE-LABlab(43.47, 42.46, -68.29)
CIE-LCHlch(43.47, 80.42, 301.87°)
OKLaboklab(53.04% 0.0385 -0.1963)
OKLCHoklch(53.04% 0.2 281.1)
XYZxyz(20.2843, 13.4749, 67.8481)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52DA #CEDA52
analogous
#528ADA #5E52DA #A252DA
triadic
#5E52DA #DA5E52 #52DA5E
tetradic
#5E52DA #DA528A #CEDA52 #52DAA2
square
#5E52DA #DA528A #CEDA52 #52DAA2
split-complementary
#5E52DA #DAA252 #8ADA52
monochromatic
#291F92 #382AC5 #5E52DA #8D84E5 #BCB7F0

Accessibility & contrast

On white

5.68
#5E52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5E52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52DA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52DA#FFFFFF#000000##FFFFFF
##5E52DA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#17748E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e52da;
/* rgb */ color: rgb(94, 82, 218);
/* oklch */ color: oklch(53.0% 0.200 281.1);
Tailwind
colors: {
  custom: {
    50: '#9783e6',
    500: '#5e52da',
    950: '#000000',
  },
}
SCSS
$custom: #5e52da;
$custom-light: #9783e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52da",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 245.294,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.20003,
    "h": 281.1
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#5E52DA
secondary
#DADFA9
accent
#E840D9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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