#5B59AE#5B59AE

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

Color values

HEX#5B59AE
RGBrgb(91, 89, 174)
HSLhsl(241, 34%, 52%)
HSVhsv(241, 49%, 68%)
CMYKcmyk(47.7%, 48.9%, 0%, 31.8%)
CIE-LABlab(41.88, 23.82, -45.35)
CIE-LCHlch(41.88, 51.22, 297.71°)
OKLaboklab(50.84% 0.0267 -0.1289)
OKLCHoklch(50.84% 0.132 281.7)
XYZxyz(15.5244, 12.4241, 41.6163)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59AE #ACAE59
analogous
#5982AE #5B59AE #8659AE
triadic
#5B59AE #AE5B59 #59AE5B
tetradic
#5B59AE #AE5982 #ACAE59 #59AE86
square
#5B59AE #AE5982 #ACAE59 #59AE86
split-complementary
#5B59AE #AE8659 #82AE59
monochromatic
#2F2E5E #444288 #5B59AE #8482C2 #ACABD6

Accessibility & contrast

On white

6.03
#5B59AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5B59AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59AE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59AE#FFFFFF#000000##FFFFFF
##5B59AE1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#3E6B7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b59ae;
/* rgb */ color: rgb(91, 89, 174);
/* oklch */ color: oklch(50.8% 0.132 281.7);
Tailwind
colors: {
  custom: {
    50: '#8f88c7',
    500: '#5b59ae',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ae;
$custom-light: #8f88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ae",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 241.412,
    "s": 34.413,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.13161,
    "h": 281.7
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#5B59AE
secondary
#C3C49F
accent
#CA5DC8
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5B59AE

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

Preview Lab → · Contrast checker → · Palette generator →

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