#5859EC#5859EC

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

Color values

HEX#5859EC
RGBrgb(88, 89, 236)
HSLhsl(240, 80%, 64%)
HSVhsv(240, 63%, 93%)
CMYKcmyk(62.7%, 62.3%, 0%, 7.5%)
CIE-LABlab(46.01, 43.09, -74.38)
CIE-LCHlch(46.01, 85.96, 300.09°)
OKLaboklab(55.22% 0.024 -0.2143)
OKLCHoklch(55.22% 0.216 276.4)
XYZxyz(22.7323, 15.2737, 81.0908)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5859EC #ECEB58
analogous
#58A3EC #5859EC #A158EC
triadic
#5859EC #EC5859 #59EC58
tetradic
#5859EC #EC58A3 #ECEB58 #58ECA1
square
#5859EC #EC58A3 #ECEB58 #58ECA1
split-complementary
#5859EC #ECA158 #A3EC58
monochromatic
#1516B5 #2122E6 #5859EC #8F90F2 #C6C6F9

Accessibility & contrast

On white

5.18
#5859EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5859EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5859EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5859EC#FFFFFF#000000##FFFFFF
##5859EC1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5859ec;
/* rgb */ color: rgb(88, 89, 236);
/* oklch */ color: oklch(55.2% 0.216 276.4);
Tailwind
colors: {
  custom: {
    50: '#9688f3',
    500: '#5859ec',
    950: '#000000',
  },
}
SCSS
$custom: #5859ec;
$custom-light: #9688f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5859ec",
  "rgb": {
    "r": 88,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 239.595,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55218,
    "c": 0.21564,
    "h": 276.4
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#5859EC
secondary
#EAEAB6
accent
#DA0ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5859EC

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

Preview Lab → · Contrast checker → · Palette generator →

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