#5D599C#5D599C

#5D599C is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.105 H 284.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5D599C
RGBrgb(93, 89, 156)
HSLhsl(244, 27%, 48%)
HSVhsv(244, 43%, 61%)
CMYKcmyk(40.4%, 42.9%, 0%, 38.8%)
CIE-LABlab(41.01, 18.86, -36.04)
CIE-LCHlch(41.01, 40.68, 297.62°)
OKLaboklab(49.88% 0.0265 -0.1016)
OKLCHoklch(49.88% 0.105 284.6)
XYZxyz(14.0856, 11.8717, 32.9954)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D599C #989C59
analogous
#59769C #5D599C #7E599C
triadic
#5D599C #9C5D59 #599C5D
tetradic
#5D599C #9C5976 #989C59 #599C7E
square
#5D599C #9C5976 #989C59 #599C7E
split-complementary
#5D599C #9C7E59 #769C59
monochromatic
#2F2D4E #464375 #5D599C #817DB5 #A7A4CB

Accessibility & contrast

On white

6.22
#5D599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5D599C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D599C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D599C#FFFFFF#000000##FFFFFF
##5D599C1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639F
Deuteranopia (green-blind)
#3F5F9A
Tritanopia (blue-blind)
#4B6673
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d599c;
/* rgb */ color: rgb(93, 89, 156);
/* oklch */ color: oklch(49.9% 0.105 284.6);
Tailwind
colors: {
  custom: {
    50: '#8e87b9',
    500: '#5d599c',
    950: '#000000',
  },
}
SCSS
$custom: #5d599c;
$custom-light: #8e87b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d599c",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 243.582,
    "s": 27.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49884,
    "c": 0.10498,
    "h": 284.6
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#5D599C
secondary
#B7B998
accent
#C464BE
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5D599C

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

Preview Lab → · Contrast checker → · Palette generator →

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