#5D59CD#5D59CD

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

Color values

HEX#5D59CD
RGBrgb(93, 89, 205)
HSLhsl(242, 54%, 58%)
HSVhsv(242, 57%, 80%)
CMYKcmyk(54.6%, 56.6%, 0%, 19.6%)
CIE-LABlab(44.06, 34.01, -59.89)
CIE-LCHlch(44.06, 68.87, 299.59°)
OKLaboklab(53.15% 0.0309 -0.1716)
OKLCHoklch(53.15% 0.174 280.2)
XYZxyz(19.1026, 13.8785, 59.4180)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59CD #C9CD59
analogous
#598FCD #5D59CD #9759CD
triadic
#5D59CD #CD5D59 #59CD5D
tetradic
#5D59CD #CD598F #C9CD59 #59CD97
square
#5D59CD #CD598F #C9CD59 #59CD97
split-complementary
#5D59CD #CD9759 #8FCD59
monochromatic
#2B2884 #3A36B3 #5D59CD #8B88DB #B9B7E9

Accessibility & contrast

On white

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

On black

3.78
#5D59CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D59CD#FFFFFF#000000##FFFFFF
##5D59CD1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#27748A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d59cd;
/* rgb */ color: rgb(93, 89, 205);
/* oklch */ color: oklch(53.1% 0.174 280.2);
Tailwind
colors: {
  custom: {
    50: '#9488dd',
    500: '#5d59cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d59cd;
$custom-light: #9488dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59cd",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 242.069,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.17433,
    "h": 280.2
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#5D59CD
secondary
#D7D8AA
accent
#DD4BD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D59CD

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

Preview Lab → · Contrast checker → · Palette generator →

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