#5D599B#5D599B

#5D599B is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.8% C 0.103 H 284.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5D599B
RGBrgb(93, 89, 155)
HSLhsl(244, 27%, 48%)
HSVhsv(244, 43%, 61%)
CMYKcmyk(40%, 42.6%, 0%, 39.2%)
CIE-LABlab(40.96, 18.56, -35.53)
CIE-LCHlch(40.96, 40.08, 297.58°)
OKLaboklab(49.83% 0.0263 -0.1001)
OKLCHoklch(49.83% 0.103 284.7)
XYZxyz(14.0013, 11.8380, 32.5512)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D599B #979B59
analogous
#59769B #5D599B #7E599B
triadic
#5D599B #9B5D59 #599B5D
tetradic
#5D599B #9B5976 #979B59 #599B7E
square
#5D599B #9B5976 #979B59 #599B7E
split-complementary
#5D599B #9B7E59 #769B59
monochromatic
#2E2C4D #464374 #5D599B #807DB4 #A6A4CB

Accessibility & contrast

On white

6.24
#5D599B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D599B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D599B#FFFFFF#000000##FFFFFF
##5D599B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639E
Deuteranopia (green-blind)
#405F99
Tritanopia (blue-blind)
#4B6672
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d599b;
/* rgb */ color: rgb(93, 89, 155);
/* oklch */ color: oklch(49.8% 0.103 284.7);
Tailwind
colors: {
  custom: {
    50: '#8e87b9',
    500: '#5d599b',
    950: '#000000',
  },
}
SCSS
$custom: #5d599b;
$custom-light: #8e87b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d599b",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 155
  },
  "hsl": {
    "h": 243.636,
    "s": 27.049,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49825,
    "c": 0.10349,
    "h": 284.7
  },
  "luminance": 0.11838
}

Semantic roles & 50–950 ramp

primary
#5D599B
secondary
#B6B897
accent
#C364BE
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #5D599B

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

Preview Lab → · Contrast checker → · Palette generator →

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