#5D52FD#5D52FD

#5D52FD is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.9% C 0.243 H 277.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5D52FD
RGBrgb(93, 82, 253)
HSLhsl(244, 98%, 66%)
HSVhsv(244, 68%, 99%)
CMYKcmyk(63.2%, 67.6%, 0%, 0.8%)
CIE-LABlab(46.25, 53.14, -83.49)
CIE-LCHlch(46.25, 98.97, 302.48°)
OKLaboklab(55.91% 0.0335 -0.2409)
OKLCHoklch(55.91% 0.243 277.9)
XYZxyz(25.2554, 15.4515, 94.5610)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52FD #F2FD52
analogous
#529CFD #5D52FD #B352FD
triadic
#5D52FD #FD5D52 #52FD5D
tetradic
#5D52FD #FD529C #F2FD52 #52FDB3
square
#5D52FD #FD529C #F2FD52 #52FDB3
split-complementary
#5D52FD #FDB352 #9CFD52
monochromatic
#1002D2 #2415FC #5D52FD #968EFE #CECBFE

Accessibility & contrast

On white

5.13
#5D52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5D52FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52FD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52FD#FFFFFF#000000##FFFFFF
##5D52FD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d52fd;
/* rgb */ color: rgb(93, 82, 253);
/* oklch */ color: oklch(55.9% 0.243 277.9);
Tailwind
colors: {
  custom: {
    50: '#9c84ff',
    500: '#5d52fd',
    950: '#000000',
  },
}
SCSS
$custom: #5d52fd;
$custom-light: #9c84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52fd",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 243.86,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.24321,
    "h": 277.9
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#5D52FD
secondary
#EEF2B9
accent
#E600D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5D52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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