#5D52AF#5D52AF

#5D52AF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.143 H 285.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5D52AF
RGBrgb(93, 82, 175)
HSLhsl(247, 37%, 50%)
HSVhsv(247, 53%, 69%)
CMYKcmyk(46.9%, 53.1%, 0%, 31.4%)
CIE-LABlab(40.34, 28.96, -48.40)
CIE-LCHlch(40.34, 56.40, 300.89°)
OKLaboklab(49.74% 0.0378 -0.1378)
OKLCHoklch(49.74% 0.143 285.3)
XYZxyz(15.2671, 11.4562, 41.9560)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52AF #A4AF52
analogous
#5275AF #5D52AF #8C52AF
triadic
#5D52AF #AF5D52 #52AF5D
tetradic
#5D52AF #AF5275 #A4AF52 #52AF8C
square
#5D52AF #AF5275 #A4AF52 #52AF8C
split-complementary
#5D52AF #AF8C52 #75AF52
monochromatic
#302B5C #463E86 #5D52AF #847CC2 #ABA6D6

Accessibility & contrast

On white

6.38
#5D52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5D52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52AF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52AF#FFFFFF#000000##FFFFFF
##5D52AF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#426678
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d52af;
/* rgb */ color: rgb(93, 82, 175);
/* oklch */ color: oklch(49.7% 0.143 285.3);
Tailwind
colors: {
  custom: {
    50: '#9083c7',
    500: '#5d52af',
    950: '#000000',
  },
}
SCSS
$custom: #5d52af;
$custom-light: #9083c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52af",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 247.097,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49741,
    "c": 0.14292,
    "h": 285.3
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#5D52AF
secondary
#BEC39A
accent
#CD5BBF
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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