#5E52DC#5E52DC

#5E52DC is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.2% C 0.203 H 280.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5E52DC
RGBrgb(94, 82, 220)
HSLhsl(245, 66%, 59%)
HSVhsv(245, 63%, 86%)
CMYKcmyk(57.3%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.62, 43.08, -69.18)
CIE-LCHlch(43.62, 81.50, 301.91°)
OKLaboklab(53.2% 0.0383 -0.1989)
OKLCHoklch(53.2% 0.203 280.9)
XYZxyz(20.5476, 13.5802, 69.2348)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52DC #D0DC52
analogous
#528BDC #5E52DC #A352DC
triadic
#5E52DC #DC5E52 #52DC5E
tetradic
#5E52DC #DC528B #D0DC52 #52DCA3
square
#5E52DC #DC528B #D0DC52 #52DCA3
split-complementary
#5E52DC #DCA352 #8BDC52
monochromatic
#291E95 #3629C8 #5E52DC #8D85E6 #BDB8F1

Accessibility & contrast

On white

5.65
#5E52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5E52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52DC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52DC#FFFFFF#000000##FFFFFF
##5E52DC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#12748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e52dc;
/* rgb */ color: rgb(94, 82, 220);
/* oklch */ color: oklch(53.2% 0.203 280.9);
Tailwind
colors: {
  custom: {
    50: '#9783e8',
    500: '#5e52dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e52dc;
$custom-light: #9783e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52dc",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 245.217,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.20256,
    "h": 280.9
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#5E52DC
secondary
#DBE0AA
accent
#E93FDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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