#5C52D2#5C52D2

#5C52D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.190 H 281.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5C52D2
RGBrgb(92, 82, 210)
HSLhsl(245, 59%, 57%)
HSVhsv(245, 61%, 82%)
CMYKcmyk(56.2%, 61%, 0%, 17.6%)
CIE-LABlab(42.71, 39.62, -64.96)
CIE-LCHlch(42.71, 76.09, 301.38°)
OKLaboklab(52.25% 0.0365 -0.1866)
OKLCHoklch(52.25% 0.19 281.1)
XYZxyz(19.0602, 12.9618, 62.4578)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52D2 #C8D252
analogous
#5288D2 #5C52D2 #9C52D2
triadic
#5C52D2 #D25C52 #52D25C
tetradic
#5C52D2 #D25288 #C8D252 #52D29C
square
#5C52D2 #D25288 #C8D252 #52D29C
split-complementary
#5C52D2 #D29C52 #88D252
monochromatic
#2B2387 #3A30B7 #5C52D2 #8A83DF #B8B3EB

Accessibility & contrast

On white

5.85
#5C52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5C52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52D2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52D2#FFFFFF#000000##FFFFFF
##5C52D21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#1E718A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c52d2;
/* rgb */ color: rgb(92, 82, 210);
/* oklch */ color: oklch(52.2% 0.190 281.1);
Tailwind
colors: {
  custom: {
    50: '#9583e1',
    500: '#5c52d2',
    950: '#000000',
  },
}
SCSS
$custom: #5c52d2;
$custom-light: #9583e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52d2",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 244.688,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.1901,
    "h": 281.1
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#5C52D2
secondary
#D6DAA6
accent
#E246D6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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