#5B59CE#5B59CE

#5B59CE is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.176 H 279.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5B59CE
RGBrgb(91, 89, 206)
HSLhsl(241, 54%, 58%)
HSVhsv(241, 57%, 81%)
CMYKcmyk(55.8%, 56.8%, 0%, 19.2%)
CIE-LABlab(43.98, 33.94, -60.60)
CIE-LCHlch(43.98, 69.46, 299.26°)
OKLaboklab(53.08% 0.0285 -0.1737)
OKLCHoklch(53.08% 0.176 279.3)
XYZxyz(19.0238, 13.8239, 60.0464)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59CE #CCCE59
analogous
#5991CE #5B59CE #9659CE
triadic
#5B59CE #CE5B59 #59CE5B
tetradic
#5B59CE #CE5991 #CCCE59 #59CE96
square
#5B59CE #CE5991 #CCCE59 #59CE96
split-complementary
#5B59CE #CE9659 #91CE59
monochromatic
#292785 #3735B5 #5B59CE #8A88DC #B8B8EA

Accessibility & contrast

On white

5.58
#5B59CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5B59CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59CE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59CE#FFFFFF#000000##FFFFFF
##5B59CE1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#1E748B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b59ce;
/* rgb */ color: rgb(91, 89, 206);
/* oklch */ color: oklch(53.1% 0.176 279.3);
Tailwind
colors: {
  custom: {
    50: '#9388de',
    500: '#5b59ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ce;
$custom-light: #9388de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ce",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 241.026,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.17603,
    "h": 279.3
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#5B59CE
secondary
#D8D9AA
accent
#DE4ADB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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