#5D52C7#5D52C7

#5D52C7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.176 H 282.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5D52C7
RGBrgb(93, 82, 199)
HSLhsl(246, 51%, 55%)
HSVhsv(246, 59%, 78%)
CMYKcmyk(53.3%, 58.8%, 0%, 22%)
CIE-LABlab(41.98, 36.37, -59.80)
CIE-LCHlch(41.98, 69.99, 301.31°)
OKLaboklab(51.48% 0.0382 -0.1713)
OKLCHoklch(51.48% 0.176 282.6)
XYZxyz(17.8371, 12.4842, 55.4916)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52C7 #BCC752
analogous
#5281C7 #5D52C7 #9752C7
triadic
#5D52C7 #C75D52 #52C75D
tetradic
#5D52C7 #C75281 #BCC752 #52C797
square
#5D52C7 #C75281 #BCC752 #52C797
split-complementary
#5D52C7 #C79752 #81C752
monochromatic
#2E2778 #4036A6 #5D52C7 #8880D6 #B4AEE5

Accessibility & contrast

On white

6.01
#5D52C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5D52C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52C7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52C7#FFFFFF#000000##FFFFFF
##5D52C71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#2F6D84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d52c7;
/* rgb */ color: rgb(93, 82, 199);
/* oklch */ color: oklch(51.5% 0.176 282.6);
Tailwind
colors: {
  custom: {
    50: '#9383d9',
    500: '#5d52c7',
    950: '#000000',
  },
}
SCSS
$custom: #5d52c7;
$custom-light: #9383d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52c7",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 245.641,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.17554,
    "h": 282.6
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#5D52C7
secondary
#CED3A2
accent
#DB4DCD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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