#5877D3#5877D3

#5877D3 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.145 H 267.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5877D3
RGBrgb(88, 119, 211)
HSLhsl(225, 58%, 59%)
HSVhsv(225, 58%, 83%)
CMYKcmyk(58.3%, 43.6%, 0%, 17.3%)
CIE-LABlab(51.80, 16.48, -50.89)
CIE-LCHlch(51.80, 53.49, 287.94°)
OKLaboklab(59.04% -0.0056 -0.1449)
OKLCHoklch(59.04% 0.145 267.8)
XYZxyz(22.3752, 19.9697, 64.2908)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877D3 #D3B458
analogous
#58B4D3 #5877D3 #7658D3
triadic
#5877D3 #D35877 #77D358
tetradic
#5877D3 #D358B4 #D3B458 #58D376
square
#5877D3 #D358B4 #D3B458 #58D376
split-complementary
#5877D3 #D37658 #B4D358
monochromatic
#253F8C #3255BC #5877D3 #889EE0 #B9C6ED

Accessibility & contrast

On white

4.20
#5877D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5877D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877D3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877D3#FFFFFF#000000##000000
##5877D31.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D7
Deuteranopia (green-blind)
#3D76D1
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5877d3;
/* rgb */ color: rgb(88, 119, 211);
/* oklch */ color: oklch(59.0% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#919de1',
    500: '#5877d3',
    950: '#000000',
  },
}
SCSS
$custom: #5877d3;
$custom-light: #919de1;
$custom-dark: #000000;
JSON
{
  "hex": "#5877d3",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 211
  },
  "hsl": {
    "h": 224.878,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59035,
    "c": 0.14504,
    "h": 267.8
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#5877D3
secondary
#DCCFAB
accent
#BA46E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5877D3

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

Preview Lab → · Contrast checker → · Palette generator →

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