#5877D5#5877D5

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

Color values

HEX#5877D5
RGBrgb(88, 119, 213)
HSLhsl(225, 60%, 59%)
HSVhsv(225, 59%, 84%)
CMYKcmyk(58.7%, 44.1%, 0%, 16.5%)
CIE-LABlab(51.92, 17.14, -51.84)
CIE-LCHlch(51.92, 54.60, 288.30°)
OKLaboklab(59.16% -0.0052 -0.1477)
OKLCHoklch(59.16% 0.148 268)
XYZxyz(22.6275, 20.0706, 65.6195)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877D5 #D5B658
analogous
#58B6D5 #5877D5 #7858D5
triadic
#5877D5 #D55877 #77D558
tetradic
#5877D5 #D558B6 #D5B658 #58D578
square
#5877D5 #D558B6 #D5B658 #58D578
split-complementary
#5877D5 #D57858 #B6D558
monochromatic
#243E8F #3054C0 #5877D5 #899FE1 #BAC7EE

Accessibility & contrast

On white

4.19
#5877D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5877D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877D5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877D5#FFFFFF#000000##000000
##5877D51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#3A77D3
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5877d5;
/* rgb */ color: rgb(88, 119, 213);
/* oklch */ color: oklch(59.2% 0.148 268.0);
Tailwind
colors: {
  custom: {
    50: '#919de2',
    500: '#5877d5',
    950: '#000000',
  },
}
SCSS
$custom: #5877d5;
$custom-light: #919de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5877d5",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 213
  },
  "hsl": {
    "h": 225.12,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59159,
    "c": 0.14781,
    "h": 268
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#5877D5
secondary
#DDD1AC
accent
#BC45E3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5877D5

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

Preview Lab → · Contrast checker → · Palette generator →

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