#5D52DC#5D52DC

#5D52DC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.203 H 280.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5D52DC
RGBrgb(93, 82, 220)
HSLhsl(245, 66%, 59%)
HSVhsv(245, 63%, 86%)
CMYKcmyk(57.7%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.55, 42.92, -69.31)
CIE-LCHlch(43.55, 81.52, 301.77°)
OKLaboklab(53.12% 0.0371 -0.1993)
OKLCHoklch(53.12% 0.203 280.5)
XYZxyz(20.4457, 13.5277, 69.2300)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52DC #D1DC52
analogous
#528CDC #5D52DC #A252DC
triadic
#5D52DC #DC5D52 #52DC5D
tetradic
#5D52DC #DC528C #D1DC52 #52DCA2
square
#5D52DC #DC528C #D1DC52 #52DCA2
split-complementary
#5D52DC #DCA252 #8CDC52
monochromatic
#281E95 #3529C8 #5D52DC #8D85E6 #BCB8F1

Accessibility & contrast

On white

5.67
#5D52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5D52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52DC#FFFFFF#000000##FFFFFF
##5D52DC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#0A748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d52dc;
/* rgb */ color: rgb(93, 82, 220);
/* oklch */ color: oklch(53.1% 0.203 280.5);
Tailwind
colors: {
  custom: {
    50: '#9783e8',
    500: '#5d52dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d52dc;
$custom-light: #9783e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52dc",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 244.783,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.20273,
    "h": 280.5
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#5D52DC
secondary
#DCE0AA
accent
#E93FDC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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