#5E59EC#5E59EC

#5E59EC is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.214 H 278.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5E59EC
RGBrgb(94, 89, 236)
HSLhsl(242, 79%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(60.2%, 62.3%, 0%, 7.5%)
CIE-LABlab(46.42, 43.99, -73.69)
CIE-LCHlch(46.42, 85.83, 300.84°)
OKLaboklab(55.62% 0.0311 -0.2121)
OKLCHoklch(55.62% 0.214 278.3)
XYZxyz(23.3239, 15.5788, 81.1185)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59EC #E7EC59
analogous
#599DEC #5E59EC #A759EC
triadic
#5E59EC #EC5E59 #59EC5E
tetradic
#5E59EC #EC599D #E7EC59 #59ECA7
square
#5E59EC #EC599D #E7EC59 #59ECA7
split-complementary
#5E59EC #ECA759 #9DEC59
monochromatic
#1A15B6 #2922E6 #5E59EC #9390F2 #C9C7F9

Accessibility & contrast

On white

5.10
#5E59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5E59EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59EC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59EC#FFFFFF#000000##FFFFFF
##5E59EC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.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: #5e59ec;
/* rgb */ color: rgb(94, 89, 236);
/* oklch */ color: oklch(55.6% 0.214 278.3);
Tailwind
colors: {
  custom: {
    50: '#9988f3',
    500: '#5e59ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e59ec;
$custom-light: #9988f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59ec",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 242.041,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.21438,
    "h": 278.3
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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