#5B59BF#5B59BF

#5B59BF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.156 H 280.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B59BF
RGBrgb(91, 89, 191)
HSLhsl(241, 44%, 55%)
HSVhsv(241, 53%, 75%)
CMYKcmyk(52.4%, 53.4%, 0%, 25.1%)
CIE-LABlab(42.96, 29.17, -53.57)
CIE-LCHlch(42.96, 61.00, 298.56°)
OKLaboklab(51.99% 0.0281 -0.153)
OKLCHoklch(51.99% 0.156 280.4)
XYZxyz(17.2878, 13.1295, 50.9034)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59BF #BDBF59
analogous
#598ABF #5B59BF #8E59BF
triadic
#5B59BF #BF5B59 #59BF5B
tetradic
#5B59BF #BF598A #BDBF59 #59BF8E
square
#5B59BF #BF598A #BDBF59 #59BF8E
split-complementary
#5B59BF #BF8E59 #8ABF59
monochromatic
#2D2C72 #3F3D9E #5B59BF #8785D0 #B2B1E1

Accessibility & contrast

On white

5.79
#5B59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5B59BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59BF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59BF#FFFFFF#000000##FFFFFF
##5B59BF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#1162BD
Tritanopia (blue-blind)
#317083
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b59bf;
/* rgb */ color: rgb(91, 89, 191);
/* oklch */ color: oklch(52.0% 0.156 280.4);
Tailwind
colors: {
  custom: {
    50: '#9188d3',
    500: '#5b59bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b59bf;
$custom-light: #9188d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59bf",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 241.176,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.1556,
    "h": 280.4
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#5B59BF
secondary
#CFCFA4
accent
#D454D2
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5B59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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