#5D59C7#5D59C7

#5D59C7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.166 H 280.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5D59C7
RGBrgb(93, 89, 199)
HSLhsl(242, 50%, 56%)
HSVhsv(242, 55%, 78%)
CMYKcmyk(53.3%, 55.3%, 0%, 22%)
CIE-LABlab(43.65, 32.11, -57.09)
CIE-LCHlch(43.65, 65.50, 299.35°)
OKLaboklab(52.71% 0.0308 -0.1633)
OKLCHoklch(52.71% 0.166 280.7)
XYZxyz(18.3922, 13.5943, 55.6766)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59C7 #C3C759
analogous
#598CC7 #5D59C7 #9459C7
triadic
#5D59C7 #C75D59 #59C75D
tetradic
#5D59C7 #C7598C #C3C759 #59C794
square
#5D59C7 #C7598C #C3C759 #59C794
split-complementary
#5D59C7 #C79459 #8CC759
monochromatic
#2D2A7C #3D39AA #5D59C7 #8A87D6 #B6B5E6

Accessibility & contrast

On white

5.65
#5D59C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5D59C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59C7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59C7#FFFFFF#000000##FFFFFF
##5D59C71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6BCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#2E7287
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d59c7;
/* rgb */ color: rgb(93, 89, 199);
/* oklch */ color: oklch(52.7% 0.166 280.7);
Tailwind
colors: {
  custom: {
    50: '#9388d9',
    500: '#5d59c7',
    950: '#000000',
  },
}
SCSS
$custom: #5d59c7;
$custom-light: #9388d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59c7",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 199
  },
  "hsl": {
    "h": 242.182,
    "s": 49.55,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.16623,
    "h": 280.7
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#5D59C7
secondary
#D3D4A7
accent
#D94FD4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D59C7

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

Preview Lab → · Contrast checker → · Palette generator →

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