#5C52DF#5C52DF

#5C52DF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.207 H 279.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5C52DF
RGBrgb(92, 82, 223)
HSLhsl(244, 69%, 60%)
HSVhsv(244, 63%, 87%)
CMYKcmyk(58.7%, 63.2%, 0%, 12.5%)
CIE-LABlab(43.71, 43.69, -70.76)
CIE-LCHlch(43.71, 83.17, 301.69°)
OKLaboklab(53.29% 0.0356 -0.2036)
OKLCHoklch(53.29% 0.207 279.9)
XYZxyz(20.7460, 13.6361, 71.3365)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52DF #D5DF52
analogous
#528FDF #5C52DF #A252DF
triadic
#5C52DF #DF5C52 #52DF5C
tetradic
#5C52DF #DF528F #D5DF52 #52DFA2
square
#5C52DF #DF528F #D5DF52 #52DFA2
split-complementary
#5C52DF #DFA252 #8FDF52
monochromatic
#251D9A #3226CE #5C52DF #8D86E9 #BDB9F2

Accessibility & contrast

On white

5.63
#5C52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5C52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52DF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52DF#FFFFFF#000000##FFFFFF
##5C52DF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c52df;
/* rgb */ color: rgb(92, 82, 223);
/* oklch */ color: oklch(53.3% 0.207 279.9);
Tailwind
colors: {
  custom: {
    50: '#9783ea',
    500: '#5c52df',
    950: '#000000',
  },
}
SCSS
$custom: #5c52df;
$custom-light: #9783ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52df",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 244.255,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.2067,
    "h": 279.9
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#5C52DF
secondary
#DEE2AB
accent
#EC3CDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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