#5D52AE#5D52AE

#5D52AE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.142 H 285.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5D52AE
RGBrgb(93, 82, 174)
HSLhsl(247, 36%, 50%)
HSVhsv(247, 53%, 68%)
CMYKcmyk(46.6%, 52.9%, 0%, 31.8%)
CIE-LABlab(40.27, 28.65, -47.91)
CIE-LCHlch(40.27, 55.83, 300.88°)
OKLaboklab(49.67% 0.0377 -0.1364)
OKLCHoklch(49.67% 0.142 285.5)
XYZxyz(15.1692, 11.4171, 41.4406)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52AE #A3AE52
analogous
#5275AE #5D52AE #8B52AE
triadic
#5D52AE #AE5D52 #52AE5D
tetradic
#5D52AE #AE5275 #A3AE52 #52AE8B
square
#5D52AE #AE5275 #A3AE52 #52AE8B
split-complementary
#5D52AE #AE8B52 #75AE52
monochromatic
#302B5B #473E85 #5D52AE #847CC2 #ABA5D5

Accessibility & contrast

On white

6.40
#5D52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5D52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52AE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52AE#FFFFFF#000000##FFFFFF
##5D52AE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B1
Deuteranopia (green-blind)
#225CAC
Tritanopia (blue-blind)
#426678
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d52ae;
/* rgb */ color: rgb(93, 82, 174);
/* oklch */ color: oklch(49.7% 0.142 285.5);
Tailwind
colors: {
  custom: {
    50: '#9083c7',
    500: '#5d52ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d52ae;
$custom-light: #9083c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52ae",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 247.174,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.14152,
    "h": 285.5
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#5D52AE
secondary
#BEC299
accent
#CC5CBF
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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