#5D52CA#5D52CA

#5D52CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.179 H 282.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5D52CA
RGBrgb(93, 82, 202)
HSLhsl(246, 53%, 56%)
HSVhsv(246, 59%, 79%)
CMYKcmyk(54%, 59.4%, 0%, 20.8%)
CIE-LABlab(42.19, 37.30, -61.18)
CIE-LCHlch(42.19, 71.66, 301.37°)
OKLaboklab(51.7% 0.0381 -0.1754)
OKLCHoklch(51.7% 0.18 282.3)
XYZxyz(18.1889, 12.6249, 57.3441)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52CA #BFCA52
analogous
#5283CA #5D52CA #9952CA
triadic
#5D52CA #CA5D52 #52CA5D
tetradic
#5D52CA #CA5283 #BFCA52 #52CA99
square
#5D52CA #CA5283 #BFCA52 #52CA99
split-complementary
#5D52CA #CA9952 #83CA52
monochromatic
#2E267C #3F34AB #5D52CA #8981D8 #B5B0E7

Accessibility & contrast

On white

5.96
#5D52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5D52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52CA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52CA#FFFFFF#000000##FFFFFF
##5D52CA1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#2C6E86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d52ca;
/* rgb */ color: rgb(93, 82, 202);
/* oklch */ color: oklch(51.7% 0.179 282.3);
Tailwind
colors: {
  custom: {
    50: '#9483db',
    500: '#5d52ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d52ca;
$custom-light: #9483db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52ca",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 245.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.1795,
    "h": 282.3
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#5D52CA
secondary
#D0D5A3
accent
#DD4BCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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