#5C52FD#5C52FD

#5C52FD is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.8% C 0.243 H 277.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5C52FD
RGBrgb(92, 82, 253)
HSLhsl(244, 98%, 66%)
HSVhsv(244, 68%, 99%)
CMYKcmyk(63.6%, 67.6%, 0%, 0.8%)
CIE-LABlab(46.18, 53.02, -83.61)
CIE-LCHlch(46.18, 99.00, 302.38°)
OKLaboklab(55.84% 0.0322 -0.2413)
OKLCHoklch(55.84% 0.243 277.6)
XYZxyz(25.1548, 15.3997, 94.5563)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C52FD #F3FD52
analogous
#529DFD #5C52FD #B252FD
triadic
#5C52FD #FD5C52 #52FD5C
tetradic
#5C52FD #FD529D #F3FD52 #52FDB2
square
#5C52FD #FD529D #F3FD52 #52FDB2
split-complementary
#5C52FD #FDB252 #9DFD52
monochromatic
#0F02D2 #2315FC #5C52FD #958EFE #CECBFE

Accessibility & contrast

On white

5.15
#5C52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5C52FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C52FD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C52FD#FFFFFF#000000##FFFFFF
##5C52FD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0066FA
Tritanopia (blue-blind)
#0080A1
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c52fd;
/* rgb */ color: rgb(92, 82, 253);
/* oklch */ color: oklch(55.8% 0.243 277.6);
Tailwind
colors: {
  custom: {
    50: '#9c84ff',
    500: '#5c52fd',
    950: '#000000',
  },
}
SCSS
$custom: #5c52fd;
$custom-light: #9c84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5c52fd",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 243.509,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.24341,
    "h": 277.6
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#5C52FD
secondary
#EFF2B9
accent
#E600D8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5C52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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