#5D5D93#5D5D93

#5D5D93 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.2% C 0.085 H 282.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5D5D93
RGBrgb(93, 93, 147)
HSLhsl(240, 23%, 47%)
HSVhsv(240, 37%, 58%)
CMYKcmyk(36.7%, 36.7%, 0%, 42.4%)
CIE-LABlab(41.63, 13.71, -29.68)
CIE-LCHlch(41.63, 32.69, 294.80°)
OKLaboklab(50.2% 0.019 -0.0831)
OKLCHoklch(50.2% 0.085 282.9)
XYZxyz(13.6935, 12.2620, 29.2434)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5D93 #93935D
analogous
#5D7893 #5D5D93 #785D93
triadic
#5D5D93 #935D5D #5D935D
tetradic
#5D5D93 #935D78 #93935D #5D9378
square
#5D5D93 #935D78 #93935D #5D9378
split-complementary
#5D5D93 #93785D #78935D
monochromatic
#2E2E48 #45456E #5D5D93 #7F7FAE #A5A5C6

Accessibility & contrast

On white

6.08
#5D5D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5D5D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5D93
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5D93#FFFFFF#000000##FFFFFF
##5D5D931.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6495
Deuteranopia (green-blind)
#4A6092
Tritanopia (blue-blind)
#4E6771
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d5d93;
/* rgb */ color: rgb(93, 93, 147);
/* oklch */ color: oklch(50.2% 0.085 282.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ab3',
    500: '#5d5d93',
    950: '#000000',
  },
}
SCSS
$custom: #5d5d93;
$custom-light: #8d8ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5d93",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 22.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.08521,
    "h": 282.9
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#5D5D93
secondary
#B4B498
accent
#BF69BF
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5D5D93

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

Preview Lab → · Contrast checker → · Palette generator →

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