#5877D7#5877D7

#5877D7 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.3% C 0.151 H 268.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5877D7
RGBrgb(88, 119, 215)
HSLhsl(225, 61%, 59%)
HSVhsv(225, 59%, 84%)
CMYKcmyk(59.1%, 44.7%, 0%, 15.7%)
CIE-LABlab(52.03, 17.81, -52.79)
CIE-LCHlch(52.03, 55.71, 288.64°)
OKLaboklab(59.29% -0.0049 -0.1505)
OKLCHoklch(59.29% 0.151 268.1)
XYZxyz(22.8829, 20.1728, 66.9647)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877D7 #D7B858
analogous
#58B7D7 #5877D7 #7858D7
triadic
#5877D7 #D75877 #77D758
tetradic
#5877D7 #D758B7 #D7B858 #58D778
square
#5877D7 #D758B7 #D7B858 #58D778
split-complementary
#5877D7 #D77858 #B7D758
monochromatic
#233E92 #2F53C3 #5877D7 #899FE3 #BBC7EF

Accessibility & contrast

On white

4.17
#5877D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5877D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877D7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877D7#FFFFFF#000000##000000
##5877D71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#3877D5
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5877d7;
/* rgb */ color: rgb(88, 119, 215);
/* oklch */ color: oklch(59.3% 0.151 268.1);
Tailwind
colors: {
  custom: {
    50: '#919de4',
    500: '#5877d7',
    950: '#000000',
  },
}
SCSS
$custom: #5877d7;
$custom-light: #919de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5877d7",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 215
  },
  "hsl": {
    "h": 225.354,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.15059,
    "h": 268.1
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#5877D7
secondary
#DED2AD
accent
#BD43E4
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #5877D7

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

Preview Lab → · Contrast checker → · Palette generator →

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