#5C52DC#5C52DC

#5C52DC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.0% C 0.203 H 280.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5C52DC
RGBrgb(92, 82, 220)
HSLhsl(244, 66%, 59%)
HSVhsv(244, 63%, 86%)
CMYKcmyk(58.2%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.47, 42.75, -69.44)
CIE-LCHlch(43.47, 81.54, 301.62°)
OKLaboklab(53.05% 0.0359 -0.1997)
OKLCHoklch(53.05% 0.203 280.2)
XYZxyz(20.3451, 13.4758, 69.2253)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52DC #D2DC52
analogous
#528DDC #5C52DC #A152DC
triadic
#5C52DC #DC5C52 #52DC5C
tetradic
#5C52DC #DC528D #D2DC52 #52DCA1
square
#5C52DC #DC528D #D2DC52 #52DCA1
split-complementary
#5C52DC #DCA152 #8DDC52
monochromatic
#271E95 #3429C8 #5C52DC #8C85E6 #BCB8F1

Accessibility & contrast

On white

5.68
#5C52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5C52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52DC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52DC#FFFFFF#000000##FFFFFF
##5C52DC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c52dc;
/* rgb */ color: rgb(92, 82, 220);
/* oklch */ color: oklch(53.0% 0.203 280.2);
Tailwind
colors: {
  custom: {
    50: '#9683e8',
    500: '#5c52dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c52dc;
$custom-light: #9683e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52dc",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 244.348,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.2029,
    "h": 280.2
  },
  "luminance": 0.13477
}

Semantic roles & 50–950 ramp

primary
#5C52DC
secondary
#DCE0AA
accent
#E93FDD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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