#5877CD#5877CD

#5877CD is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.137 H 267.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5877CD
RGBrgb(88, 119, 205)
HSLhsl(224, 54%, 57%)
HSVhsv(224, 57%, 80%)
CMYKcmyk(57.1%, 42%, 0%, 19.6%)
CIE-LABlab(51.47, 14.49, -48.01)
CIE-LCHlch(51.47, 50.15, 286.80°)
OKLaboklab(58.67% -0.0066 -0.1365)
OKLCHoklch(58.67% 0.137 267.2)
XYZxyz(21.6371, 19.6744, 60.4031)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877CD #CDAE58
analogous
#58B1CD #5877CD #7458CD
triadic
#5877CD #CD5877 #77CD58
tetradic
#5877CD #CD58B1 #CDAE58 #58CD74
square
#5877CD #CD58B1 #CDAE58 #58CD74
split-complementary
#5877CD #CD7458 #B1CD58
monochromatic
#274083 #3557B2 #5877CD #879DDB #B6C4E9

Accessibility & contrast

On white

4.26
#5877CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5877CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877CD#FFFFFF#000000##000000
##5877CD1.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5877cd;
/* rgb */ color: rgb(88, 119, 205);
/* oklch */ color: oklch(58.7% 0.137 267.2);
Tailwind
colors: {
  custom: {
    50: '#909ddd',
    500: '#5877cd',
    950: '#000000',
  },
}
SCSS
$custom: #5877cd;
$custom-light: #909ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5877cd",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 224.103,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.13666,
    "h": 267.2
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#5877CD
secondary
#D8CCA9
accent
#B64BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5877CD

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

Preview Lab → · Contrast checker → · Palette generator →

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