#5B59BC#5B59BC

#5B59BC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.151 H 280.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5B59BC
RGBrgb(91, 89, 188)
HSLhsl(241, 42%, 54%)
HSVhsv(241, 53%, 74%)
CMYKcmyk(51.6%, 52.7%, 0%, 26.3%)
CIE-LABlab(42.76, 28.22, -52.14)
CIE-LCHlch(42.76, 59.29, 298.42°)
OKLaboklab(51.78% 0.0279 -0.1488)
OKLCHoklch(51.78% 0.151 280.6)
XYZxyz(16.9611, 12.9988, 49.1825)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59BC #BABC59
analogous
#5989BC #5B59BC #8D59BC
triadic
#5B59BC #BC5B59 #59BC5B
tetradic
#5B59BC #BC5989 #BABC59 #59BC8D
square
#5B59BC #BC5989 #BABC59 #59BC8D
split-complementary
#5B59BC #BC8D59 #89BC59
monochromatic
#2E2C6E #403E9A #5B59BC #8685CE #B1B0DF

Accessibility & contrast

On white

5.83
#5B59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5B59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59BC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59BC#FFFFFF#000000##FFFFFF
##5B59BC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469BF
Deuteranopia (green-blind)
#1961BA
Tritanopia (blue-blind)
#346F82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b59bc;
/* rgb */ color: rgb(91, 89, 188);
/* oklch */ color: oklch(51.8% 0.151 280.6);
Tailwind
colors: {
  custom: {
    50: '#9088d1',
    500: '#5b59bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b59bc;
$custom-light: #9088d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59bc",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 241.212,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.15143,
    "h": 280.6
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#5B59BC
secondary
#CDCDA3
accent
#D256D0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5B59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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