#5859F5#5859F5

#5859F5 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.227 H 275.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5859F5
RGBrgb(88, 89, 245)
HSLhsl(240, 89%, 65%)
HSVhsv(240, 64%, 96%)
CMYKcmyk(64.1%, 63.7%, 0%, 3.9%)
CIE-LABlab(46.72, 45.99, -78.26)
CIE-LCHlch(46.72, 90.77, 300.44°)
OKLaboklab(55.97% 0.0234 -0.2257)
OKLCHoklch(55.97% 0.227 275.9)
XYZxyz(24.0729, 15.8100, 88.1515)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5859F5 #F5F458
analogous
#58A7F5 #5859F5 #A658F5
triadic
#5859F5 #F55859 #59F558
tetradic
#5859F5 #F558A7 #F5F458 #58F5A6
square
#5859F5 #F558A7 #F5F458 #58F5A6
split-complementary
#5859F5 #F5A658 #A7F558
monochromatic
#0C0DC7 #1E20F2 #5859F5 #9292F8 #CBCCFC

Accessibility & contrast

On white

5.05
#5859F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5859F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5859F5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5859F5#FFFFFF#000000##FFFFFF
##5859F51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5859f5;
/* rgb */ color: rgb(88, 89, 245);
/* oklch */ color: oklch(56.0% 0.227 275.9);
Tailwind
colors: {
  custom: {
    50: '#9888fa',
    500: '#5859f5',
    950: '#000000',
  },
}
SCSS
$custom: #5859f5;
$custom-light: #9888fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5859f5",
  "rgb": {
    "r": 88,
    "g": 89,
    "b": 245
  },
  "hsl": {
    "h": 239.618,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.55965,
    "c": 0.22689,
    "h": 275.9
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#5859F5
secondary
#EFEFBA
accent
#E400E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5859F5

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

Preview Lab → · Contrast checker → · Palette generator →

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