#5B59CA#5B59CA

#5B59CA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.171 H 279.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5B59CA
RGBrgb(91, 89, 202)
HSLhsl(241, 52%, 57%)
HSVhsv(241, 56%, 79%)
CMYKcmyk(55%, 55.9%, 0%, 20.8%)
CIE-LABlab(43.70, 32.67, -58.75)
CIE-LCHlch(43.70, 67.22, 299.08°)
OKLaboklab(52.78% 0.0285 -0.1683)
OKLCHoklch(52.78% 0.171 279.6)
XYZxyz(18.5441, 13.6320, 57.5197)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59CA #C8CA59
analogous
#5990CA #5B59CA #9459CA
triadic
#5B59CA #CA5B59 #59CA5B
tetradic
#5B59CA #CA5990 #C8CA59 #59CA94
square
#5B59CA #CA5990 #C8CA59 #59CA94
split-complementary
#5B59CA #CA9459 #90CA59
monochromatic
#2A2980 #3A38AE #5B59CA #8987D9 #B7B6E8

Accessibility & contrast

On white

5.64
#5B59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5B59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59CA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59CA#FFFFFF#000000##FFFFFF
##5B59CA1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#257389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b59ca;
/* rgb */ color: rgb(91, 89, 202);
/* oklch */ color: oklch(52.8% 0.171 279.6);
Tailwind
colors: {
  custom: {
    50: '#9288db',
    500: '#5b59ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ca;
$custom-light: #9288db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ca",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 241.062,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.17065,
    "h": 279.6
  },
  "luminance": 0.13633
}

Semantic roles & 50–950 ramp

primary
#5B59CA
secondary
#D6D6A8
accent
#DB4DD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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