#5877CA#5877CA

#5877CA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.5% C 0.132 H 266.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5877CA
RGBrgb(88, 119, 202)
HSLhsl(224, 52%, 57%)
HSVhsv(224, 56%, 79%)
CMYKcmyk(56.4%, 41.1%, 0%, 20.8%)
CIE-LABlab(51.30, 13.50, -46.56)
CIE-LCHlch(51.30, 48.48, 286.17°)
OKLaboklab(58.49% -0.0072 -0.1323)
OKLCHoklch(58.49% 0.132 266.9)
XYZxyz(21.2784, 19.5310, 58.5142)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877CA #CAAB58
analogous
#58B0CA #5877CA #7258CA
triadic
#5877CA #CA5877 #77CA58
tetradic
#5877CA #CA58B0 #CAAB58 #58CA72
square
#5877CA #CA58B0 #CAAB58 #58CA72
split-complementary
#5877CA #CA7258 #B0CA58
monochromatic
#28407F #3757AE #5877CA #869DD9 #B5C3E7

Accessibility & contrast

On white

4.28
#5877CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5877CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877CA#FFFFFF#000000##000000
##5877CA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#098997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5877ca;
/* rgb */ color: rgb(88, 119, 202);
/* oklch */ color: oklch(58.5% 0.132 266.9);
Tailwind
colors: {
  custom: {
    50: '#8f9dda',
    500: '#5877ca',
    950: '#000000',
  },
}
SCSS
$custom: #5877ca;
$custom-light: #8f9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ca",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 223.684,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.13246,
    "h": 266.9
  },
  "luminance": 0.19533
}

Semantic roles & 50–950 ramp

primary
#5877CA
secondary
#D6CAA8
accent
#B44DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5877CA

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

Preview Lab → · Contrast checker → · Palette generator →

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