#5859CD#5859CD

#5859CD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.175 H 278.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5859CD
RGBrgb(88, 89, 205)
HSLhsl(239, 54%, 57%)
HSVhsv(239, 57%, 80%)
CMYKcmyk(57.1%, 56.6%, 0%, 19.6%)
CIE-LABlab(43.69, 33.06, -60.50)
CIE-LCHlch(43.69, 68.94, 298.66°)
OKLaboklab(52.79% 0.0249 -0.1735)
OKLCHoklch(52.79% 0.175 278.2)
XYZxyz(18.6128, 13.6259, 59.3950)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5859CD #CDCC58
analogous
#5894CD #5859CD #9158CD
triadic
#5859CD #CD5859 #59CD58
tetradic
#5859CD #CD5894 #CDCC58 #58CD91
square
#5859CD #CD5894 #CDCC58 #58CD91
split-complementary
#5859CD #CD9158 #94CD58
monochromatic
#272883 #3536B2 #5859CD #8788DB #B6B7E9

Accessibility & contrast

On white

5.64
#5859CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5859CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5859CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5859CD#FFFFFF#000000##FFFFFF
##5859CD1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#11748A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5859cd;
/* rgb */ color: rgb(88, 89, 205);
/* oklch */ color: oklch(52.8% 0.175 278.2);
Tailwind
colors: {
  custom: {
    50: '#9188dd',
    500: '#5859cd',
    950: '#000000',
  },
}
SCSS
$custom: #5859cd;
$custom-light: #9188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5859cd",
  "rgb": {
    "r": 88,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 239.487,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.17528,
    "h": 278.2
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#5859CD
secondary
#D8D8A9
accent
#DC4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5859CD

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

Preview Lab → · Contrast checker → · Palette generator →

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