#5B59DD#5B59DD

#5B59DD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.2% C 0.196 H 278.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5B59DD
RGBrgb(91, 89, 221)
HSLhsl(241, 66%, 61%)
HSVhsv(241, 60%, 87%)
CMYKcmyk(58.8%, 59.7%, 0%, 13.3%)
CIE-LABlab(45.06, 38.74, -67.42)
CIE-LCHlch(45.06, 77.76, 299.89°)
OKLaboklab(54.22% 0.0283 -0.1938)
OKLCHoklch(54.22% 0.196 278.3)
XYZxyz(20.9337, 14.5878, 70.1052)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59DD #DBDD59
analogous
#5999DD #5B59DD #9D59DD
triadic
#5B59DD #DD5B59 #59DD5B
tetradic
#5B59DD #DD5999 #DBDD59 #59DD9D
square
#5B59DD #DD5999 #DBDD59 #59DD9D
split-complementary
#5B59DD #DD9D59 #99DD59
monochromatic
#22209C #2D2ACF #5B59DD #8D8CE7 #BFBFF2

Accessibility & contrast

On white

5.36
#5B59DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5B59DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59DD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59DD#FFFFFF#000000##FFFFFF
##5B59DD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b59dd;
/* rgb */ color: rgb(91, 89, 221);
/* oklch */ color: oklch(54.2% 0.196 278.3);
Tailwind
colors: {
  custom: {
    50: '#9588e8',
    500: '#5b59dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b59dd;
$custom-light: #9588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59dd",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 240.909,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.19582,
    "h": 278.3
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#5B59DD
secondary
#E1E2B0
accent
#CE18CB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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