#5877CB#5877CB

#5877CB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.134 H 267.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5877CB
RGBrgb(88, 119, 203)
HSLhsl(224, 53%, 57%)
HSVhsv(224, 57%, 80%)
CMYKcmyk(56.7%, 41.4%, 0%, 20.4%)
CIE-LABlab(51.36, 13.83, -47.05)
CIE-LCHlch(51.36, 49.04, 286.38°)
OKLaboklab(58.55% -0.007 -0.1337)
OKLCHoklch(58.55% 0.134 267)
XYZxyz(21.3972, 19.5785, 59.1398)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877CB #CBAC58
analogous
#58B1CB #5877CB #7358CB
triadic
#5877CB #CB5877 #77CB58
tetradic
#5877CB #CB58B1 #CBAC58 #58CB73
square
#5877CB #CB58B1 #CBAC58 #58CB73
split-complementary
#5877CB #CB7358 #B1CB58
monochromatic
#284081 #3757AF #5877CB #879DDA #B5C3E8

Accessibility & contrast

On white

4.27
#5877CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5877CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877CB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877CB#FFFFFF#000000##000000
##5877CB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#4476C9
Tritanopia (blue-blind)
#058A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5877cb;
/* rgb */ color: rgb(88, 119, 203);
/* oklch */ color: oklch(58.5% 0.134 267.0);
Tailwind
colors: {
  custom: {
    50: '#909ddb',
    500: '#5877cb',
    950: '#000000',
  },
}
SCSS
$custom: #5877cb;
$custom-light: #909ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5877cb",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 223.826,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58548,
    "c": 0.13385,
    "h": 267
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#5877CB
secondary
#D7CAA8
accent
#B54CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5877CB

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

Preview Lab → · Contrast checker → · Palette generator →

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