#5B59DF#5B59DF

#5B59DF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.198 H 278.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5B59DF
RGBrgb(91, 89, 223)
HSLhsl(241, 68%, 61%)
HSVhsv(241, 60%, 87%)
CMYKcmyk(59.2%, 60.1%, 0%, 12.5%)
CIE-LABlab(45.21, 39.38, -68.31)
CIE-LCHlch(45.21, 78.85, 299.97°)
OKLaboklab(54.38% 0.0282 -0.1964)
OKLCHoklch(54.38% 0.198 278.2)
XYZxyz(21.2018, 14.6951, 71.5169)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59DF #DDDF59
analogous
#599ADF #5B59DF #9E59DF
triadic
#5B59DF #DF5B59 #59DF5B
tetradic
#5B59DF #DF599A #DDDF59 #59DF9E
square
#5B59DF #DF599A #DDDF59 #59DF9E
split-complementary
#5B59DF #DF9E59 #9ADF59
monochromatic
#211F9F #2B29D2 #5B59DF #8E8CE9 #C0C0F3

Accessibility & contrast

On white

5.33
#5B59DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5B59DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59DF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59DF#FFFFFF#000000##FFFFFF
##5B59DF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b59df;
/* rgb */ color: rgb(91, 89, 223);
/* oklch */ color: oklch(54.4% 0.198 278.2);
Tailwind
colors: {
  custom: {
    50: '#9688ea',
    500: '#5b59df',
    950: '#000000',
  },
}
SCSS
$custom: #5b59df;
$custom-light: #9688ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59df",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 240.896,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.19842,
    "h": 278.2
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#5B59DF
secondary
#E2E3B1
accent
#D016CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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