#5D52CE#5D52CE

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

Color values

HEX#5D52CE
RGBrgb(93, 82, 206)
HSLhsl(245, 56%, 56%)
HSVhsv(245, 60%, 81%)
CMYKcmyk(54.9%, 60.2%, 0%, 19.2%)
CIE-LABlab(42.49, 38.55, -63.01)
CIE-LCHlch(42.49, 73.87, 301.46°)
OKLaboklab(52.01% 0.0379 -0.1808)
OKLCHoklch(52.01% 0.185 281.9)
XYZxyz(18.6686, 12.8168, 59.8707)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52CE #C3CE52
analogous
#5285CE #5D52CE #9B52CE
triadic
#5D52CE #CE5D52 #52CE5D
tetradic
#5D52CE #CE5285 #C3CE52 #52CE9B
square
#5D52CE #CE5285 #C3CE52 #52CE9B
split-complementary
#5D52CE #CE9B52 #85CE52
monochromatic
#2D2581 #3D32B1 #5D52CE #8A82DC #B6B1E9

Accessibility & contrast

On white

5.89
#5D52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5D52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52CE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52CE#FFFFFF#000000##FFFFFF
##5D52CE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#277088
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d52ce;
/* rgb */ color: rgb(93, 82, 206);
/* oklch */ color: oklch(52.0% 0.185 281.9);
Tailwind
colors: {
  custom: {
    50: '#9583de',
    500: '#5d52ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d52ce;
$custom-light: #9583de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52ce",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 245.323,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.18474,
    "h": 281.9
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#5D52CE
secondary
#D3D7A4
accent
#DF49D2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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