#5B59CF#5B59CF

#5B59CF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.177 H 279.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5B59CF
RGBrgb(91, 89, 207)
HSLhsl(241, 55%, 58%)
HSVhsv(241, 57%, 81%)
CMYKcmyk(56%, 57%, 0%, 18.8%)
CIE-LABlab(44.05, 34.26, -61.06)
CIE-LCHlch(44.05, 70.02, 299.30°)
OKLaboklab(53.15% 0.0285 -0.1751)
OKLCHoklch(53.15% 0.177 279.2)
XYZxyz(19.1457, 13.8726, 60.6882)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59CF #CDCF59
analogous
#5992CF #5B59CF #9659CF
triadic
#5B59CF #CF5B59 #59CF5B
tetradic
#5B59CF #CF5992 #CDCF59 #59CF96
square
#5B59CF #CF5992 #CDCF59 #59CF96
split-complementary
#5B59CF #CF9659 #92CF59
monochromatic
#292787 #3735B6 #5B59CF #8A88DD #B9B8EA

Accessibility & contrast

On white

5.56
#5B59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B59CF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59CF#FFFFFF#000000##FFFFFF
##5B59CF1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#1D758B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b59cf;
/* rgb */ color: rgb(91, 89, 207);
/* oklch */ color: oklch(53.2% 0.177 279.2);
Tailwind
colors: {
  custom: {
    50: '#9388de',
    500: '#5b59cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b59cf;
$custom-light: #9388de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59cf",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 241.017,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53151,
    "c": 0.17737,
    "h": 279.2
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#5B59CF
secondary
#D9D9AA
accent
#DE49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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