#5B59BE#5B59BE

#5B59BE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.154 H 280.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5B59BE
RGBrgb(91, 89, 190)
HSLhsl(241, 44%, 55%)
HSVhsv(241, 53%, 75%)
CMYKcmyk(52.1%, 53.2%, 0%, 25.5%)
CIE-LABlab(42.89, 28.85, -53.10)
CIE-LCHlch(42.89, 60.43, 298.52°)
OKLaboklab(51.92% 0.028 -0.1516)
OKLCHoklch(51.92% 0.154 280.5)
XYZxyz(17.1782, 13.0856, 50.3258)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59BE #BCBE59
analogous
#598ABE #5B59BE #8E59BE
triadic
#5B59BE #BE5B59 #59BE5B
tetradic
#5B59BE #BE598A #BCBE59 #59BE8E
square
#5B59BE #BE598A #BCBE59 #59BE8E
split-complementary
#5B59BE #BE8E59 #8ABE59
monochromatic
#2D2C71 #3F3D9D #5B59BE #8685CF #B2B1E0

Accessibility & contrast

On white

5.81
#5B59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5B59BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59BE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59BE#FFFFFF#000000##FFFFFF
##5B59BE1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#1462BC
Tritanopia (blue-blind)
#327083
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b59be;
/* rgb */ color: rgb(91, 89, 190);
/* oklch */ color: oklch(51.9% 0.154 280.5);
Tailwind
colors: {
  custom: {
    50: '#9188d2',
    500: '#5b59be',
    950: '#000000',
  },
}
SCSS
$custom: #5b59be;
$custom-light: #9188d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59be",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 241.188,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.15422,
    "h": 280.5
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#5B59BE
secondary
#CECFA4
accent
#D354D1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5B59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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