#5C52E2#5C52E2

#5C52E2 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.210 H 279.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5C52E2
RGBrgb(92, 82, 226)
HSLhsl(244, 71%, 60%)
HSVhsv(244, 64%, 89%)
CMYKcmyk(59.3%, 63.7%, 0%, 11.4%)
CIE-LABlab(43.94, 44.63, -72.08)
CIE-LCHlch(43.94, 84.78, 301.76°)
OKLaboklab(53.54% 0.0354 -0.2075)
OKLCHoklch(53.54% 0.21 279.7)
XYZxyz(21.1540, 13.7994, 73.4856)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52E2 #D8E252
analogous
#5290E2 #5C52E2 #A452E2
triadic
#5C52E2 #E25C52 #52E25C
tetradic
#5C52E2 #E25290 #D8E252 #52E2A4
square
#5C52E2 #E25290 #D8E252 #52E2A4
split-complementary
#5C52E2 #E2A452 #90E252
monochromatic
#241B9F #3023D3 #5C52E2 #8D86EB #BFBBF4

Accessibility & contrast

On white

5.58
#5C52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5C52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52E2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52E2#FFFFFF#000000##FFFFFF
##5C52E21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c52e2;
/* rgb */ color: rgb(92, 82, 226);
/* oklch */ color: oklch(53.5% 0.210 279.7);
Tailwind
colors: {
  custom: {
    50: '#9783ec',
    500: '#5c52e2',
    950: '#000000',
  },
}
SCSS
$custom: #5c52e2;
$custom-light: #9783ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52e2",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 244.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.21047,
    "h": 279.7
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#5C52E2
secondary
#E0E3AC
accent
#D312C6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5C52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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