#5859AB#5859AB

#5859AB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.128 H 280.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5859AB
RGBrgb(88, 89, 171)
HSLhsl(239, 33%, 51%)
HSVhsv(239, 49%, 67%)
CMYKcmyk(48.5%, 48%, 0%, 32.9%)
CIE-LABlab(41.47, 22.17, -44.25)
CIE-LCHlch(41.47, 49.49, 296.61°)
OKLaboklab(50.41% 0.0228 -0.1257)
OKLCHoklch(50.41% 0.128 280.3)
XYZxyz(14.9453, 12.1590, 40.0796)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5859AB #ABAA58
analogous
#5882AB #5859AB #8058AB
triadic
#5859AB #AB5859 #59AB58
tetradic
#5859AB #AB5882 #ABAA58 #58AB80
square
#5859AB #AB5882 #ABAA58 #58AB80
split-complementary
#5859AB #AB8058 #82AB58
monochromatic
#2E2E5B #424384 #5859AB #8181BF #A9AAD4

Accessibility & contrast

On white

6.12
#5859AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5859AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5859AB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5859AB#FFFFFF#000000##FFFFFF
##5859AB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#2F5FA9
Tritanopia (blue-blind)
#3A6A7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5859ab;
/* rgb */ color: rgb(88, 89, 171);
/* oklch */ color: oklch(50.4% 0.128 280.3);
Tailwind
colors: {
  custom: {
    50: '#8c87c4',
    500: '#5859ab',
    950: '#000000',
  },
}
SCSS
$custom: #5859ab;
$custom-light: #8c87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5859ab",
  "rgb": {
    "r": 88,
    "g": 89,
    "b": 171
  },
  "hsl": {
    "h": 239.277,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.12778,
    "h": 280.3
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#5859AB
secondary
#C2C19D
accent
#C85FC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5859AB

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

Preview Lab → · Contrast checker → · Palette generator →

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