#5877D0#5877D0

#5877D0 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.141 H 267.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5877D0
RGBrgb(88, 119, 208)
HSLhsl(225, 56%, 58%)
HSVhsv(225, 58%, 82%)
CMYKcmyk(57.7%, 42.8%, 0%, 18.4%)
CIE-LABlab(51.63, 15.48, -49.45)
CIE-LCHlch(51.63, 51.82, 287.38°)
OKLaboklab(58.85% -0.0061 -0.1407)
OKLCHoklch(58.85% 0.141 267.5)
XYZxyz(22.0027, 19.8207, 62.3286)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877D0 #D0B158
analogous
#58B3D0 #5877D0 #7558D0
triadic
#5877D0 #D05877 #77D058
tetradic
#5877D0 #D058B3 #D0B158 #58D075
square
#5877D0 #D058B3 #D0B158 #58D075
split-complementary
#5877D0 #D07558 #B3D058
monochromatic
#263F87 #3456B7 #5877D0 #889EDD #B8C5EB

Accessibility & contrast

On white

4.23
#5877D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5877D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877D0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877D0#FFFFFF#000000##000000
##5877D01.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D3
Deuteranopia (green-blind)
#4076CE
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5877d0;
/* rgb */ color: rgb(88, 119, 208);
/* oklch */ color: oklch(58.9% 0.141 267.5);
Tailwind
colors: {
  custom: {
    50: '#909ddf',
    500: '#5877d0',
    950: '#000000',
  },
}
SCSS
$custom: #5877d0;
$custom-light: #909ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5877d0",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 208
  },
  "hsl": {
    "h": 224.5,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.14086,
    "h": 267.5
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#5877D0
secondary
#DACDAA
accent
#B848DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5877D0

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

Preview Lab → · Contrast checker → · Palette generator →

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