#5C52EC#5C52EC

#5C52EC is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.223 H 278.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5C52EC
RGBrgb(92, 82, 236)
HSLhsl(244, 80%, 62%)
HSVhsv(244, 65%, 93%)
CMYKcmyk(61%, 65.3%, 0%, 7.5%)
CIE-LABlab(44.75, 47.75, -76.42)
CIE-LCHlch(44.75, 90.11, 302.00°)
OKLaboklab(54.37% 0.0344 -0.2202)
OKLCHoklch(54.37% 0.223 278.9)
XYZxyz(22.5664, 14.3643, 80.9240)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52EC #E2EC52
analogous
#5295EC #5C52EC #A952EC
triadic
#5C52EC #EC5C52 #52EC5C
tetradic
#5C52EC #EC5295 #E2EC52 #52ECA9
square
#5C52EC #EC5295 #E2EC52 #52ECA9
split-complementary
#5C52EC #ECA952 #95EC52
monochromatic
#1E13B0 #281BE6 #5C52EC #9089F2 #C4C0F8

Accessibility & contrast

On white

5.42
#5C52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5C52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52EC#FFFFFF#000000##FFFFFF
##5C52EC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c52ec;
/* rgb */ color: rgb(92, 82, 236);
/* oklch */ color: oklch(54.4% 0.223 278.9);
Tailwind
colors: {
  custom: {
    50: '#9984f3',
    500: '#5c52ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c52ec;
$custom-light: #9984f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52ec",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 243.896,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.22287,
    "h": 278.9
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#5C52EC
secondary
#E5E9B1
accent
#DD09CF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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