#5B59DE#5B59DE

#5B59DE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.197 H 278.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5B59DE
RGBrgb(91, 89, 222)
HSLhsl(241, 67%, 61%)
HSVhsv(241, 60%, 87%)
CMYKcmyk(59%, 59.9%, 0%, 12.9%)
CIE-LABlab(45.14, 39.06, -67.86)
CIE-LCHlch(45.14, 78.30, 299.93°)
OKLaboklab(54.3% 0.0283 -0.1951)
OKLCHoklch(54.3% 0.197 278.2)
XYZxyz(21.0674, 14.6413, 70.8090)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59DE #DCDE59
analogous
#5999DE #5B59DE #9D59DE
triadic
#5B59DE #DE5B59 #59DE5B
tetradic
#5B59DE #DE5999 #DCDE59 #59DE9D
square
#5B59DE #DE5999 #DCDE59 #59DE9D
split-complementary
#5B59DE #DE9D59 #99DE59
monochromatic
#211F9D #2C29D0 #5B59DE #8D8CE8 #C0BFF2

Accessibility & contrast

On white

5.35
#5B59DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5B59DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59DE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59DE#FFFFFF#000000##FFFFFF
##5B59DE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b59de;
/* rgb */ color: rgb(91, 89, 222);
/* oklch */ color: oklch(54.3% 0.197 278.2);
Tailwind
colors: {
  custom: {
    50: '#9588e9',
    500: '#5b59de',
    950: '#000000',
  },
}
SCSS
$custom: #5b59de;
$custom-light: #9588e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59de",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 240.902,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.19711,
    "h": 278.2
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#5B59DE
secondary
#E2E2B0
accent
#CF17CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B59DE

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

Preview Lab → · Contrast checker → · Palette generator →

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