#5B59AA#5B59AA

#5B59AA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.126 H 282.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5B59AA
RGBrgb(91, 89, 170)
HSLhsl(241, 32%, 51%)
HSVhsv(241, 48%, 67%)
CMYKcmyk(46.5%, 47.6%, 0%, 33.3%)
CIE-LABlab(41.64, 22.58, -43.37)
CIE-LCHlch(41.64, 48.89, 297.50°)
OKLaboklab(50.58% 0.0262 -0.1231)
OKLCHoklch(50.58% 0.126 282)
XYZxyz(15.1403, 12.2705, 39.5931)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59AA #A8AA59
analogous
#597FAA #5B59AA #8359AA
triadic
#5B59AA #AA5B59 #59AA5B
tetradic
#5B59AA #AA597F #A8AA59 #59AA83
square
#5B59AA #AA597F #A8AA59 #59AA83
split-complementary
#5B59AA #AA8359 #7FAA59
monochromatic
#2F2E5A #454383 #5B59AA #8381BF #ABAAD3

Accessibility & contrast

On white

6.08
#5B59AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5B59AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59AA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59AA#FFFFFF#000000##FFFFFF
##5B59AA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#335FA8
Tritanopia (blue-blind)
#406A79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b59aa;
/* rgb */ color: rgb(91, 89, 170);
/* oklch */ color: oklch(50.6% 0.126 282.0);
Tailwind
colors: {
  custom: {
    50: '#8e88c4',
    500: '#5b59aa',
    950: '#000000',
  },
}
SCSS
$custom: #5b59aa;
$custom-light: #8e88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59aa",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 241.481,
    "s": 32.271,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.12582,
    "h": 282
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#5B59AA
secondary
#C0C19D
accent
#C85FC6
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #5B59AA

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

Preview Lab → · Contrast checker → · Palette generator →

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