#5876D6#5876D6

#5876D6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.150 H 268.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5876D6
RGBrgb(88, 118, 214)
HSLhsl(226, 61%, 59%)
HSVhsv(226, 59%, 84%)
CMYKcmyk(58.9%, 44.9%, 0%, 16.1%)
CIE-LABlab(51.71, 18.09, -52.74)
CIE-LCHlch(51.71, 55.76, 288.93°)
OKLaboklab(59.02% -0.004 -0.1504)
OKLCHoklch(59.02% 0.15 268.5)
XYZxyz(22.6364, 19.8848, 66.2506)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876D6 #D6B858
analogous
#58B5D6 #5876D6 #7958D6
triadic
#5876D6 #D65876 #76D658
tetradic
#5876D6 #D658B5 #D6B858 #58D679
square
#5876D6 #D658B5 #D6B858 #58D679
split-complementary
#5876D6 #D67958 #B5D658
monochromatic
#233D90 #2F52C1 #5876D6 #899EE2 #BAC7EE

Accessibility & contrast

On white

4.22
#5876D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5876D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876D6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876D6#FFFFFF#000000##000000
##5876D61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81DA
Deuteranopia (green-blind)
#3776D4
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5876d6;
/* rgb */ color: rgb(88, 118, 214);
/* oklch */ color: oklch(59.0% 0.150 268.5);
Tailwind
colors: {
  custom: {
    50: '#919de3',
    500: '#5876d6',
    950: '#000000',
  },
}
SCSS
$custom: #5876d6;
$custom-light: #919de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5876d6",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 214
  },
  "hsl": {
    "h": 225.714,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.15044,
    "h": 268.5
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#5876D6
secondary
#DED2AC
accent
#BE44E4
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #5876D6

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

Preview Lab → · Contrast checker → · Palette generator →

#5876D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva