#5D59EC#5D59EC

#5D59EC is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.215 H 278.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5D59EC
RGBrgb(93, 89, 236)
HSLhsl(242, 79%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(60.6%, 62.3%, 0%, 7.5%)
CIE-LABlab(46.35, 43.84, -73.81)
CIE-LCHlch(46.35, 85.85, 300.71°)
OKLaboklab(55.55% 0.0299 -0.2125)
OKLCHoklch(55.55% 0.215 278)
XYZxyz(23.2220, 15.5263, 81.1138)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59EC #E8EC59
analogous
#599EEC #5D59EC #A659EC
triadic
#5D59EC #EC5D59 #59EC5D
tetradic
#5D59EC #EC599E #E8EC59 #59ECA6
square
#5D59EC #EC599E #E8EC59 #59ECA6
split-complementary
#5D59EC #ECA659 #9EEC59
monochromatic
#1915B6 #2722E6 #5D59EC #9390F2 #C8C7F9

Accessibility & contrast

On white

5.11
#5D59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5D59EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59EC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59EC#FFFFFF#000000##FFFFFF
##5D59EC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d59ec;
/* rgb */ color: rgb(93, 89, 236);
/* oklch */ color: oklch(55.6% 0.215 278.0);
Tailwind
colors: {
  custom: {
    50: '#9988f3',
    500: '#5d59ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d59ec;
$custom-light: #9988f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59ec",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 241.633,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.21459,
    "h": 278
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#5D59EC
secondary
#E9EAB6
accent
#DC0AD6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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