#5C52EA#5C52EA

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

Color values

HEX#5C52EA
RGBrgb(92, 82, 234)
HSLhsl(244, 78%, 62%)
HSVhsv(244, 65%, 92%)
CMYKcmyk(60.7%, 65%, 0%, 8.2%)
CIE-LABlab(44.59, 47.13, -75.56)
CIE-LCHlch(44.59, 89.05, 301.95°)
OKLaboklab(54.21% 0.0346 -0.2177)
OKLCHoklch(54.21% 0.22 279)
XYZxyz(22.2775, 14.2487, 79.4023)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52EA #E0EA52
analogous
#5294EA #5C52EA #A852EA
triadic
#5C52EA #EA5C52 #52EA5C
tetradic
#5C52EA #EA5294 #E0EA52 #52EAA8
square
#5C52EA #EA5294 #E0EA52 #52EAA8
split-complementary
#5C52EA #EAA852 #94EA52
monochromatic
#1F15AD #291CE3 #5C52EA #8F89F1 #C3BFF7

Accessibility & contrast

On white

5.45
#5C52EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C52EA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52EA#FFFFFF#000000##FFFFFF
##5C52EA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c52ea;
/* rgb */ color: rgb(92, 82, 234);
/* oklch */ color: oklch(54.2% 0.220 279.0);
Tailwind
colors: {
  custom: {
    50: '#9884f2',
    500: '#5c52ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c52ea;
$custom-light: #9884f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52ea",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 243.947,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.22041,
    "h": 279
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#5C52EA
secondary
#E4E8B0
accent
#DB0BCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C52EA

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

Preview Lab → · Contrast checker → · Palette generator →

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