#5C52D8#5C52D8

#5C52D8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.7% C 0.198 H 280.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5C52D8
RGBrgb(92, 82, 216)
HSLhsl(244, 63%, 58%)
HSVhsv(244, 62%, 85%)
CMYKcmyk(57.4%, 62%, 0%, 15.3%)
CIE-LABlab(43.16, 41.50, -67.66)
CIE-LCHlch(43.16, 79.37, 301.52°)
OKLaboklab(52.73% 0.0361 -0.1945)
OKLCHoklch(52.73% 0.198 280.5)
XYZxyz(19.8217, 13.2664, 66.4686)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52D8 #CED852
analogous
#528BD8 #5C52D8 #9F52D8
triadic
#5C52D8 #D85C52 #52D85C
tetradic
#5C52D8 #D8528B #CED852 #52D89F
square
#5C52D8 #D8528B #CED852 #52D89F
split-complementary
#5C52D8 #D89F52 #8BD852
monochromatic
#29208F #372CC1 #5C52D8 #8B84E3 #BAB6EF

Accessibility & contrast

On white

5.75
#5C52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5C52D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52D8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52D8#FFFFFF#000000##FFFFFF
##5C52D81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#10738D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c52d8;
/* rgb */ color: rgb(92, 82, 216);
/* oklch */ color: oklch(52.7% 0.198 280.5);
Tailwind
colors: {
  custom: {
    50: '#9683e5',
    500: '#5c52d8',
    950: '#000000',
  },
}
SCSS
$custom: #5c52d8;
$custom-light: #9683e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52d8",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 244.478,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.19781,
    "h": 280.5
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#5C52D8
secondary
#DADDA8
accent
#E642DA
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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