#5D52BF#5D52BF

#5D52BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.165 H 283.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5D52BF
RGBrgb(93, 82, 191)
HSLhsl(246, 46%, 54%)
HSVhsv(246, 57%, 75%)
CMYKcmyk(51.3%, 57.1%, 0%, 25.1%)
CIE-LABlab(41.41, 33.88, -56.06)
CIE-LCHlch(41.41, 65.51, 301.15°)
OKLaboklab(50.88% 0.0383 -0.1604)
OKLCHoklch(50.88% 0.165 283.4)
XYZxyz(16.9326, 12.1224, 50.7278)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52BF #B4BF52
analogous
#527DBF #5D52BF #9352BF
triadic
#5D52BF #BF5D52 #52BF5D
tetradic
#5D52BF #BF527D #B4BF52 #52BF93
square
#5D52BF #BF527D #B4BF52 #52BF93
split-complementary
#5D52BF #BF9352 #7DBF52
monochromatic
#30296E #43399B #5D52BF #877FD0 #B1ABE0

Accessibility & contrast

On white

6.13
#5D52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52BF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52BF#FFFFFF#000000##FFFFFF
##5D52BF1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#376B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d52bf;
/* rgb */ color: rgb(93, 82, 191);
/* oklch */ color: oklch(50.9% 0.165 283.4);
Tailwind
colors: {
  custom: {
    50: '#9283d3',
    500: '#5d52bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d52bf;
$custom-light: #9283d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52bf",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 246.055,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.16486,
    "h": 283.4
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#5D52BF
secondary
#C9CE9F
accent
#D652C8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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