#5859EF#5859EF

#5859EF is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.5% C 0.219 H 276.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5859EF
RGBrgb(88, 89, 239)
HSLhsl(240, 83%, 64%)
HSVhsv(240, 63%, 94%)
CMYKcmyk(63.2%, 62.8%, 0%, 6.3%)
CIE-LABlab(46.24, 44.06, -75.68)
CIE-LCHlch(46.24, 87.57, 300.21°)
OKLaboklab(55.47% 0.0238 -0.2181)
OKLCHoklch(55.47% 0.219 276.2)
XYZxyz(23.1718, 15.4495, 83.4056)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5859EF #EFEE58
analogous
#58A5EF #5859EF #A358EF
triadic
#5859EF #EF5859 #59EF58
tetradic
#5859EF #EF58A5 #EFEE58 #58EFA3
square
#5859EF #EF58A5 #EFEE58 #58EFA3
split-complementary
#5859EF #EFA358 #A5EF58
monochromatic
#1213BB #2021EA #5859EF #9091F4 #C8C8FA

Accessibility & contrast

On white

5.13
#5859EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5859EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5859EF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5859EF#FFFFFF#000000##FFFFFF
##5859EF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5859ef;
/* rgb */ color: rgb(88, 89, 239);
/* oklch */ color: oklch(55.5% 0.219 276.2);
Tailwind
colors: {
  custom: {
    50: '#9788f5',
    500: '#5859ef',
    950: '#000000',
  },
}
SCSS
$custom: #5859ef;
$custom-light: #9788f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5859ef",
  "rgb": {
    "r": 88,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 239.603,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.21942,
    "h": 276.2
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#5859EF
secondary
#ECEBB7
accent
#DD07DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5859EF

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

Preview Lab → · Contrast checker → · Palette generator →

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