#5C52E7#5C52E7

#5C52E7 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.217 H 279.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5C52E7
RGBrgb(92, 82, 231)
HSLhsl(244, 76%, 61%)
HSVhsv(244, 65%, 91%)
CMYKcmyk(60.2%, 64.5%, 0%, 9.4%)
CIE-LABlab(44.34, 46.19, -74.26)
CIE-LCHlch(44.34, 87.45, 301.88°)
OKLaboklab(53.95% 0.0349 -0.2139)
OKLCHoklch(53.95% 0.217 279.3)
XYZxyz(21.8501, 14.0778, 77.1517)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52E7 #DDE752
analogous
#5293E7 #5C52E7 #A752E7
triadic
#5C52E7 #E75C52 #52E75C
tetradic
#5C52E7 #E75293 #DDE752 #52E7A7
square
#5C52E7 #E75293 #DDE752 #52E7A7
split-complementary
#5C52E7 #E7A752 #93E752
monochromatic
#2117A7 #2B1FDD #5C52E7 #8F88EE #C1BDF6

Accessibility & contrast

On white

5.50
#5C52E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5C52E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52E7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52E7#FFFFFF#000000##FFFFFF
##5C52E71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c52e7;
/* rgb */ color: rgb(92, 82, 231);
/* oklch */ color: oklch(54.0% 0.217 279.3);
Tailwind
colors: {
  custom: {
    50: '#9883f0',
    500: '#5c52e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c52e7;
$custom-light: #9883f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52e7",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 244.027,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.21669,
    "h": 279.3
  },
  "luminance": 0.14079
}

Semantic roles & 50–950 ramp

primary
#5C52E7
secondary
#E3E6AF
accent
#D80ECA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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