#5D59DC#5D59DC

#5D59DC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.194 H 279.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D59DC
RGBrgb(93, 89, 220)
HSLhsl(242, 65%, 61%)
HSVhsv(242, 60%, 86%)
CMYKcmyk(57.7%, 59.5%, 0%, 13.7%)
CIE-LABlab(45.13, 38.77, -66.73)
CIE-LCHlch(45.13, 77.17, 300.15°)
OKLaboklab(54.29% 0.0307 -0.1917)
OKLCHoklch(54.29% 0.194 279.1)
XYZxyz(21.0008, 14.6378, 69.4150)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59DC #D8DC59
analogous
#5996DC #5D59DC #9E59DC
triadic
#5D59DC #DC5D59 #59DC5D
tetradic
#5D59DC #DC5996 #D8DC59 #59DC9E
square
#5D59DC #DC5996 #D8DC59 #59DC9E
split-complementary
#5D59DC #DC9E59 #96DC59
monochromatic
#24209A #302BCD #5D59DC #8E8CE7 #C0BEF1

Accessibility & contrast

On white

5.35
#5D59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D59DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59DC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59DC#FFFFFF#000000##FFFFFF
##5D59DC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#067992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d59dc;
/* rgb */ color: rgb(93, 89, 220);
/* oklch */ color: oklch(54.3% 0.194 279.1);
Tailwind
colors: {
  custom: {
    50: '#9688e8',
    500: '#5d59dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d59dc;
$custom-light: #9688e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59dc",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 241.832,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.19413,
    "h": 279.1
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#5D59DC
secondary
#E0E1AF
accent
#CD18C7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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