#5B59AD#5B59AD

#5B59AD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.130 H 281.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5B59AD
RGBrgb(91, 89, 173)
HSLhsl(241, 34%, 51%)
HSVhsv(241, 49%, 68%)
CMYKcmyk(47.4%, 48.6%, 0%, 32.2%)
CIE-LABlab(41.82, 23.51, -44.85)
CIE-LCHlch(41.82, 50.64, 297.66°)
OKLaboklab(50.77% 0.0266 -0.1274)
OKLCHoklch(50.77% 0.13 281.8)
XYZxyz(15.4273, 12.3853, 41.1048)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59AD #ABAD59
analogous
#5981AD #5B59AD #8559AD
triadic
#5B59AD #AD5B59 #59AD5B
tetradic
#5B59AD #AD5981 #ABAD59 #59AD85
square
#5B59AD #AD5981 #ABAD59 #59AD85
split-complementary
#5B59AD #AD8559 #81AD59
monochromatic
#2F2E5D #444286 #5B59AD #8382C1 #ACABD5

Accessibility & contrast

On white

6.04
#5B59AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5B59AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59AD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59AD#FFFFFF#000000##FFFFFF
##5B59AD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B0
Deuteranopia (green-blind)
#3060AB
Tritanopia (blue-blind)
#3F6B7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b59ad;
/* rgb */ color: rgb(91, 89, 173);
/* oklch */ color: oklch(50.8% 0.130 281.8);
Tailwind
colors: {
  custom: {
    50: '#8e88c6',
    500: '#5b59ad',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ad;
$custom-light: #8e88c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ad",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 173
  },
  "hsl": {
    "h": 241.429,
    "s": 33.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.13016,
    "h": 281.8
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#5B59AD
secondary
#C3C39E
accent
#CA5EC7
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5B59AD

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

Preview Lab → · Contrast checker → · Palette generator →

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