#5877C9#5877C9

#5877C9 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.4% C 0.131 H 266.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5877C9
RGBrgb(88, 119, 201)
HSLhsl(224, 51%, 57%)
HSVhsv(224, 56%, 79%)
CMYKcmyk(56.2%, 40.8%, 0%, 21.2%)
CIE-LABlab(51.25, 13.17, -46.08)
CIE-LCHlch(51.25, 47.93, 285.96°)
OKLaboklab(58.43% -0.0074 -0.1308)
OKLCHoklch(58.43% 0.131 266.8)
XYZxyz(21.1604, 19.4838, 57.8927)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877C9 #C9AA58
analogous
#58B0C9 #5877C9 #7258C9
triadic
#5877C9 #C95877 #77C958
tetradic
#5877C9 #C958B0 #C9AA58 #58C972
square
#5877C9 #C958B0 #C9AA58 #58C972
split-complementary
#5877C9 #C97258 #B0C958
monochromatic
#29407E #3858AC #5877C9 #869DD8 #B4C2E7

Accessibility & contrast

On white

4.29
#5877C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5877C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877C9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877C9#FFFFFF#000000##000000
##5877C91.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CC
Deuteranopia (green-blind)
#4675C7
Tritanopia (blue-blind)
#0D8996
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5877c9;
/* rgb */ color: rgb(88, 119, 201);
/* oklch */ color: oklch(58.4% 0.131 266.8);
Tailwind
colors: {
  custom: {
    50: '#8f9dda',
    500: '#5877c9',
    950: '#000000',
  },
}
SCSS
$custom: #5877c9;
$custom-light: #8f9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5877c9",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 201
  },
  "hsl": {
    "h": 223.54,
    "s": 51.131,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.13105,
    "h": 266.8
  },
  "luminance": 0.19485
}

Semantic roles & 50–950 ramp

primary
#5877C9
secondary
#D6C9A7
accent
#B44DDB
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5877C9

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

Preview Lab → · Contrast checker → · Palette generator →

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