#5877CC#5877CC

#5877CC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.135 H 267.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5877CC
RGBrgb(88, 119, 204)
HSLhsl(224, 53%, 57%)
HSVhsv(224, 57%, 80%)
CMYKcmyk(56.9%, 41.7%, 0%, 20%)
CIE-LABlab(51.41, 14.16, -47.53)
CIE-LCHlch(51.41, 49.60, 286.59°)
OKLaboklab(58.61% -0.0068 -0.1351)
OKLCHoklch(58.61% 0.135 267.1)
XYZxyz(21.5167, 19.6263, 59.7694)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877CC #CCAD58
analogous
#58B1CC #5877CC #7358CC
triadic
#5877CC #CC5877 #77CC58
tetradic
#5877CC #CC58B1 #CCAD58 #58CC73
square
#5877CC #CC58B1 #CCAD58 #58CC73
split-complementary
#5877CC #CC7358 #B1CC58
monochromatic
#284082 #3657B1 #5877CC #879DDA #B6C3E9

Accessibility & contrast

On white

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

On black

4.93
#5877CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877CC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877CC#FFFFFF#000000##000000
##5877CC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#4376CA
Tritanopia (blue-blind)
#018A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5877cc;
/* rgb */ color: rgb(88, 119, 204);
/* oklch */ color: oklch(58.6% 0.135 267.1);
Tailwind
colors: {
  custom: {
    50: '#909ddc',
    500: '#5877cc',
    950: '#000000',
  },
}
SCSS
$custom: #5877cc;
$custom-light: #909ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5877cc",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 223.966,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58608,
    "c": 0.13526,
    "h": 267.1
  },
  "luminance": 0.19628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5877CC

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

Preview Lab → · Contrast checker → · Palette generator →

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