#5759EC#5759EC

#5759EC is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.216 H 276.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5759EC
RGBrgb(87, 89, 236)
HSLhsl(239, 80%, 63%)
HSVhsv(239, 63%, 93%)
CMYKcmyk(63.1%, 62.3%, 0%, 7.5%)
CIE-LABlab(45.94, 42.95, -74.49)
CIE-LCHlch(45.94, 85.98, 299.97°)
OKLaboklab(55.15% 0.0229 -0.2146)
OKLCHoklch(55.15% 0.216 276.1)
XYZxyz(22.6382, 15.2252, 81.0864)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759EC #ECEA57
analogous
#57A3EC #5759EC #A057EC
triadic
#5759EC #EC5759 #59EC57
tetradic
#5759EC #EC57A3 #ECEA57 #57ECA0
square
#5759EC #EC57A3 #ECEA57 #57ECA0
split-complementary
#5759EC #ECA057 #A3EC57
monochromatic
#1417B4 #2023E6 #5759EC #8E8FF2 #C5C6F8

Accessibility & contrast

On white

5.19
#5759EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5759EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759EC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759EC#FFFFFF#000000##FFFFFF
##5759EC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5759ec;
/* rgb */ color: rgb(87, 89, 236);
/* oklch */ color: oklch(55.2% 0.216 276.1);
Tailwind
colors: {
  custom: {
    50: '#9688f3',
    500: '#5759ec',
    950: '#000000',
  },
}
SCSS
$custom: #5759ec;
$custom-light: #9688f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5759ec",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 239.195,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55153,
    "c": 0.21587,
    "h": 276.1
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#5759EC
secondary
#EAE9B5
accent
#D90ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5759EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5759EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva