#5E599D#5E599D

#5E599D is a mid, moderate blue. Relative luminance 0.120; OKLCH L 50.0% C 0.106 H 285.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5E599D
RGBrgb(94, 89, 157)
HSLhsl(244, 28%, 48%)
HSVhsv(244, 43%, 62%)
CMYKcmyk(40.1%, 43.3%, 0%, 38.4%)
CIE-LABlab(41.15, 19.43, -36.41)
CIE-LCHlch(41.15, 41.27, 298.08°)
OKLaboklab(50.03% 0.0279 -0.1026)
OKLCHoklch(50.03% 0.106 285.2)
XYZxyz(14.2726, 11.9583, 33.4479)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E599D #989D59
analogous
#59769D #5E599D #80599D
triadic
#5E599D #9D5E59 #599D5E
tetradic
#5E599D #9D5976 #989D59 #599D80
square
#5E599D #9D5976 #989D59 #599D80
split-complementary
#5E599D #9D8059 #769D59
monochromatic
#2F2D4F #474376 #5E599D #827EB6 #A8A5CC

Accessibility & contrast

On white

6.19
#5E599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5E599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E599D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E599D#FFFFFF#000000##FFFFFF
##5E599D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A0
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#4C6673
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e599d;
/* rgb */ color: rgb(94, 89, 157);
/* oklch */ color: oklch(50.0% 0.106 285.2);
Tailwind
colors: {
  custom: {
    50: '#8f88ba',
    500: '#5e599d',
    950: '#000000',
  },
}
SCSS
$custom: #5e599d;
$custom-light: #8f88ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5e599d",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 244.412,
    "s": 27.642,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.10637,
    "h": 285.2
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#5E599D
secondary
#B7BA98
accent
#C464BD
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0D0B11
muted
#7D7C80

Preview Lab

Preview with #5E599D

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

Preview Lab → · Contrast checker → · Palette generator →

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