#5877D2#5877D2

#5877D2 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.144 H 267.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5877D2
RGBrgb(88, 119, 210)
HSLhsl(225, 58%, 58%)
HSVhsv(225, 58%, 82%)
CMYKcmyk(58.1%, 43.3%, 0%, 17.6%)
CIE-LABlab(51.75, 16.14, -50.41)
CIE-LCHlch(51.75, 52.93, 287.76°)
OKLaboklab(58.97% -0.0057 -0.1435)
OKLCHoklch(58.97% 0.144 267.7)
XYZxyz(22.2503, 19.9197, 63.6326)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877D2 #D2B358
analogous
#58B4D2 #5877D2 #7658D2
triadic
#5877D2 #D25877 #77D258
tetradic
#5877D2 #D258B4 #D2B358 #58D276
square
#5877D2 #D258B4 #D2B358 #58D276
split-complementary
#5877D2 #D27658 #B4D258
monochromatic
#253F8A #3255BB #5877D2 #889EDF #B8C6EC

Accessibility & contrast

On white

4.21
#5877D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5877D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877D2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877D2#FFFFFF#000000##000000
##5877D21.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D5
Deuteranopia (green-blind)
#3E76D0
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5877d2;
/* rgb */ color: rgb(88, 119, 210);
/* oklch */ color: oklch(59.0% 0.144 267.7);
Tailwind
colors: {
  custom: {
    50: '#919de0',
    500: '#5877d2',
    950: '#000000',
  },
}
SCSS
$custom: #5877d2;
$custom-light: #919de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5877d2",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 224.754,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.14365,
    "h": 267.7
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#5877D2
secondary
#DBCFAB
accent
#BA47E1
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5877D2

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

Preview Lab → · Contrast checker → · Palette generator →

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