#5859BB#5859BB

#5859BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.151 H 279.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5859BB
RGBrgb(88, 89, 187)
HSLhsl(239, 42%, 54%)
HSVhsv(239, 53%, 73%)
CMYKcmyk(52.9%, 52.4%, 0%, 26.7%)
CIE-LABlab(42.47, 27.26, -52.04)
CIE-LCHlch(42.47, 58.75, 297.64°)
OKLaboklab(51.48% 0.0243 -0.1486)
OKLCHoklch(51.48% 0.151 279.3)
XYZxyz(16.5637, 12.8063, 48.6031)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5859BB #BBBA58
analogous
#588BBB #5859BB #8958BB
triadic
#5859BB #BB5859 #59BB58
tetradic
#5859BB #BB588B #BBBA58 #58BB89
square
#5859BB #BB588B #BBBA58 #58BB89
split-complementary
#5859BB #BB8958 #8BBB58
monochromatic
#2C2D6C #3E3F98 #5859BB #8384CD #AFAFDE

Accessibility & contrast

On white

5.90
#5859BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5859BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5859BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5859BB#FFFFFF#000000##FFFFFF
##5859BB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#1760B9
Tritanopia (blue-blind)
#2D6F81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5859bb;
/* rgb */ color: rgb(88, 89, 187);
/* oklch */ color: oklch(51.5% 0.151 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e88d0',
    500: '#5859bb',
    950: '#000000',
  },
}
SCSS
$custom: #5859bb;
$custom-light: #8e88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5859bb",
  "rgb": {
    "r": 88,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 239.394,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51484,
    "c": 0.15059,
    "h": 279.3
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#5859BB
secondary
#CDCCA2
accent
#D156D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5859BB

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

Preview Lab → · Contrast checker → · Palette generator →

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