#5877D6#5877D6

#5877D6 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.2% C 0.149 H 268.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5877D6
RGBrgb(88, 119, 214)
HSLhsl(225, 61%, 59%)
HSVhsv(225, 59%, 84%)
CMYKcmyk(58.9%, 44.4%, 0%, 16.1%)
CIE-LABlab(51.97, 17.47, -52.31)
CIE-LCHlch(51.97, 55.15, 288.47°)
OKLaboklab(59.22% -0.0051 -0.1491)
OKLCHoklch(59.22% 0.149 268)
XYZxyz(22.7548, 20.1215, 66.2900)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877D6 #D6B758
analogous
#58B6D6 #5877D6 #7858D6
triadic
#5877D6 #D65877 #77D658
tetradic
#5877D6 #D658B6 #D6B758 #58D678
square
#5877D6 #D658B6 #D6B758 #58D678
split-complementary
#5877D6 #D67858 #B6D658
monochromatic
#233E90 #2F53C1 #5877D6 #899FE2 #BAC7EE

Accessibility & contrast

On white

4.18
#5877D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5877D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877D6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877D6#FFFFFF#000000##000000
##5877D61.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DA
Deuteranopia (green-blind)
#3977D4
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5877d6;
/* rgb */ color: rgb(88, 119, 214);
/* oklch */ color: oklch(59.2% 0.149 268.0);
Tailwind
colors: {
  custom: {
    50: '#919de3',
    500: '#5877d6',
    950: '#000000',
  },
}
SCSS
$custom: #5877d6;
$custom-light: #919de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5877d6",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 214
  },
  "hsl": {
    "h": 225.238,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59222,
    "c": 0.14921,
    "h": 268
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#5877D6
secondary
#DED1AC
accent
#BC44E4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5877D6

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

Preview Lab → · Contrast checker → · Palette generator →

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