#5D59C8#5D59C8

#5D59C8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.168 H 280.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5D59C8
RGBrgb(93, 89, 200)
HSLhsl(242, 50%, 57%)
HSVhsv(242, 56%, 78%)
CMYKcmyk(53.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(43.71, 32.43, -57.56)
CIE-LCHlch(43.71, 66.07, 299.39°)
OKLaboklab(52.79% 0.0308 -0.1647)
OKLCHoklch(52.79% 0.168 280.6)
XYZxyz(18.5087, 13.6409, 56.2901)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59C8 #C4C859
analogous
#598DC8 #5D59C8 #9559C8
triadic
#5D59C8 #C85D59 #59C85D
tetradic
#5D59C8 #C8598D #C4C859 #59C895
square
#5D59C8 #C8598D #C4C859 #59C895
split-complementary
#5D59C8 #C89559 #8DC859
monochromatic
#2C297D #3D39AB #5D59C8 #8A87D7 #B7B5E6

Accessibility & contrast

On white

5.63
#5D59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5D59C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59C8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59C8#FFFFFF#000000##FFFFFF
##5D59C81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6BCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#2D7288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d59c8;
/* rgb */ color: rgb(93, 89, 200);
/* oklch */ color: oklch(52.8% 0.168 280.6);
Tailwind
colors: {
  custom: {
    50: '#9388d9',
    500: '#5d59c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d59c8;
$custom-light: #9388d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59c8",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 242.162,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.16759,
    "h": 280.6
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#5D59C8
secondary
#D3D5A8
accent
#DA4ED5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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