#5B59BB#5B59BB

#5B59BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.150 H 280.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5B59BB
RGBrgb(91, 89, 187)
HSLhsl(241, 42%, 54%)
HSVhsv(241, 52%, 73%)
CMYKcmyk(51.3%, 52.4%, 0%, 26.7%)
CIE-LABlab(42.70, 27.90, -51.66)
CIE-LCHlch(42.70, 58.72, 298.37°)
OKLaboklab(51.71% 0.0278 -0.1474)
OKLCHoklch(51.71% 0.15 280.7)
XYZxyz(16.8536, 12.9558, 48.6167)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59BB #B9BB59
analogous
#5988BB #5B59BB #8C59BB
triadic
#5B59BB #BB5B59 #59BB5B
tetradic
#5B59BB #BB5988 #B9BB59 #59BB8C
square
#5B59BB #BB5988 #B9BB59 #59BB8C
split-complementary
#5B59BB #BB8C59 #88BB59
monochromatic
#2E2D6D #403E98 #5B59BB #8684CD #B1B0DF

Accessibility & contrast

On white

5.85
#5B59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5B59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59BB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59BB#FFFFFF#000000##FFFFFF
##5B59BB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#346F81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b59bb;
/* rgb */ color: rgb(91, 89, 187);
/* oklch */ color: oklch(51.7% 0.150 280.7);
Tailwind
colors: {
  custom: {
    50: '#9088d0',
    500: '#5b59bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b59bb;
$custom-light: #9088d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59bb",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 241.224,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.15004,
    "h": 280.7
  },
  "luminance": 0.12957
}

Semantic roles & 50–950 ramp

primary
#5B59BB
secondary
#CCCDA3
accent
#D256CF
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5B59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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