#5D59CA#5D59CA

#5D59CA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.170 H 280.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5D59CA
RGBrgb(93, 89, 202)
HSLhsl(242, 52%, 57%)
HSVhsv(242, 56%, 79%)
CMYKcmyk(54%, 55.9%, 0%, 20.8%)
CIE-LABlab(43.85, 33.06, -58.50)
CIE-LCHlch(43.85, 67.19, 299.47°)
OKLaboklab(52.93% 0.0309 -0.1675)
OKLCHoklch(52.93% 0.17 280.4)
XYZxyz(18.7439, 13.7350, 57.5291)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59CA #C6CA59
analogous
#598ECA #5D59CA #9659CA
triadic
#5D59CA #CA5D59 #59CA5D
tetradic
#5D59CA #CA598E #C6CA59 #59CA96
square
#5D59CA #CA598E #C6CA59 #59CA96
split-complementary
#5D59CA #CA9659 #8ECA59
monochromatic
#2C2980 #3C38AE #5D59CA #8A87D9 #B8B6E8

Accessibility & contrast

On white

5.60
#5D59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5D59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59CA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59CA#FFFFFF#000000##FFFFFF
##5D59CA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036CCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#2B7389
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d59ca;
/* rgb */ color: rgb(93, 89, 202);
/* oklch */ color: oklch(52.9% 0.170 280.4);
Tailwind
colors: {
  custom: {
    50: '#9388db',
    500: '#5d59ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d59ca;
$custom-light: #9388db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59ca",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 242.124,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.17029,
    "h": 280.4
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

primary
#5D59CA
secondary
#D5D6A8
accent
#DB4DD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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