#5B59CB#5B59CB

#5B59CB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.172 H 279.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5B59CB
RGBrgb(91, 89, 203)
HSLhsl(241, 52%, 57%)
HSVhsv(241, 56%, 80%)
CMYKcmyk(55.2%, 56.2%, 0%, 20.4%)
CIE-LABlab(43.77, 32.99, -59.21)
CIE-LCHlch(43.77, 67.78, 299.12°)
OKLaboklab(52.85% 0.0285 -0.1696)
OKLCHoklch(52.85% 0.172 279.5)
XYZxyz(18.6629, 13.6795, 58.1453)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59CB #C9CB59
analogous
#5990CB #5B59CB #9459CB
triadic
#5B59CB #CB5B59 #59CB5B
tetradic
#5B59CB #CB5990 #C9CB59 #59CB94
square
#5B59CB #CB5990 #C9CB59 #59CB94
split-complementary
#5B59CB #CB9459 #90CB59
monochromatic
#2A2881 #3937B0 #5B59CB #8988DA #B7B6E8

Accessibility & contrast

On white

5.62
#5B59CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5B59CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59CB#FFFFFF#000000##FFFFFF
##5B59CB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#237389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b59cb;
/* rgb */ color: rgb(91, 89, 203);
/* oklch */ color: oklch(52.9% 0.172 279.5);
Tailwind
colors: {
  custom: {
    50: '#9388dc',
    500: '#5b59cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b59cb;
$custom-light: #9388dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59cb",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 241.053,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.172,
    "h": 279.5
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#5B59CB
secondary
#D6D7A9
accent
#DC4CD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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