#5B59C8#5B59C8

#5B59C8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.168 H 279.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B59C8
RGBrgb(91, 89, 200)
HSLhsl(241, 50%, 57%)
HSVhsv(241, 56%, 78%)
CMYKcmyk(54.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(43.56, 32.03, -57.81)
CIE-LCHlch(43.56, 66.09, 298.99°)
OKLaboklab(52.63% 0.0284 -0.1655)
OKLCHoklch(52.63% 0.168 279.7)
XYZxyz(18.3088, 13.5379, 56.2807)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59C8 #C6C859
analogous
#598FC8 #5B59C8 #9359C8
triadic
#5B59C8 #C85B59 #59C85B
tetradic
#5B59C8 #C8598F #C6C859 #59C893
square
#5B59C8 #C8598F #C6C859 #59C893
split-complementary
#5B59C8 #C89359 #8FC859
monochromatic
#2B297D #3B39AB #5B59C8 #8887D7 #B6B5E6

Accessibility & contrast

On white

5.66
#5B59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5B59C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59C8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59C8#FFFFFF#000000##FFFFFF
##5B59C81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#277388
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b59c8;
/* rgb */ color: rgb(91, 89, 200);
/* oklch */ color: oklch(52.6% 0.168 279.7);
Tailwind
colors: {
  custom: {
    50: '#9288d9',
    500: '#5b59c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b59c8;
$custom-light: #9288d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59c8",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 241.081,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.16794,
    "h": 279.7
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#5B59C8
secondary
#D4D5A8
accent
#DA4ED7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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