#5D52CD#5D52CD

#5D52CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.183 H 281.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5D52CD
RGBrgb(93, 82, 205)
HSLhsl(245, 55%, 56%)
HSVhsv(245, 60%, 80%)
CMYKcmyk(54.6%, 60%, 0%, 19.6%)
CIE-LABlab(42.41, 38.24, -62.56)
CIE-LCHlch(42.41, 73.32, 301.44°)
OKLaboklab(51.93% 0.038 -0.1795)
OKLCHoklch(51.93% 0.183 281.9)
XYZxyz(18.5475, 12.7684, 59.2330)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52CD #C2CD52
analogous
#5285CD #5D52CD #9B52CD
triadic
#5D52CD #CD5D52 #52CD5D
tetradic
#5D52CD #CD5285 #C2CD52 #52CD9B
square
#5D52CD #CD5285 #C2CD52 #52CD9B
split-complementary
#5D52CD #CD9B52 #85CD52
monochromatic
#2D2580 #3E33AF #5D52CD #8981DB #B6B1E8

Accessibility & contrast

On white

5.91
#5D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5D52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52CD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52CD#FFFFFF#000000##FFFFFF
##5D52CD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#296F88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d52cd;
/* rgb */ color: rgb(93, 82, 205);
/* oklch */ color: oklch(51.9% 0.183 281.9);
Tailwind
colors: {
  custom: {
    50: '#9483dd',
    500: '#5d52cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d52cd;
$custom-light: #9483dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52cd",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 245.366,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.18343,
    "h": 281.9
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#5D52CD
secondary
#D2D7A4
accent
#DE49D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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