#5D52BC#5D52BC

#5D52BC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.161 H 283.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5D52BC
RGBrgb(93, 82, 188)
HSLhsl(246, 44%, 53%)
HSVhsv(246, 56%, 74%)
CMYKcmyk(50.5%, 56.4%, 0%, 26.3%)
CIE-LABlab(41.20, 32.95, -54.65)
CIE-LCHlch(41.20, 63.81, 301.09°)
OKLaboklab(50.66% 0.0382 -0.1562)
OKLCHoklch(50.66% 0.161 283.8)
XYZxyz(16.6059, 11.9917, 49.0068)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52BC #B1BC52
analogous
#527CBC #5D52BC #9252BC
triadic
#5D52BC #BC5D52 #52BC5D
tetradic
#5D52BC #BC527C #B1BC52 #52BC92
square
#5D52BC #BC527C #B1BC52 #52BC92
split-complementary
#5D52BC #BC9252 #7CBC52
monochromatic
#30296A #443A97 #5D52BC #867ECD #B0AADE

Accessibility & contrast

On white

6.18
#5D52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5D52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52BC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52BC#FFFFFF#000000##FFFFFF
##5D52BC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0864C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#396A7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d52bc;
/* rgb */ color: rgb(93, 82, 188);
/* oklch */ color: oklch(50.7% 0.161 283.8);
Tailwind
colors: {
  custom: {
    50: '#9283d1',
    500: '#5d52bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d52bc;
$custom-light: #9283d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52bc",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 246.226,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.1608,
    "h": 283.8
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#5D52BC
secondary
#C7CC9E
accent
#D454C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5D52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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