#5877C8#5877C8

#5877C8 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.4% C 0.130 H 266.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5877C8
RGBrgb(88, 119, 200)
HSLhsl(223, 50%, 56%)
HSVhsv(223, 56%, 78%)
CMYKcmyk(56%, 40.5%, 0%, 21.6%)
CIE-LABlab(51.19, 12.85, -45.60)
CIE-LCHlch(51.19, 47.37, 285.74°)
OKLaboklab(58.37% -0.0076 -0.1294)
OKLCHoklch(58.37% 0.13 266.6)
XYZxyz(21.0432, 19.4369, 57.2752)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877C8 #C8A958
analogous
#58AFC8 #5877C8 #7158C8
triadic
#5877C8 #C85877 #77C858
tetradic
#5877C8 #C858AF #C8A958 #58C871
square
#5877C8 #C858AF #C8A958 #58C871
split-complementary
#5877C8 #C87158 #AFC858
monochromatic
#29407D #3858AB #5877C8 #869CD7 #B4C2E6

Accessibility & contrast

On white

4.30
#5877C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5877C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877C8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877C8#FFFFFF#000000##000000
##5877C81.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#108996
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5877c8;
/* rgb */ color: rgb(88, 119, 200);
/* oklch */ color: oklch(58.4% 0.130 266.6);
Tailwind
colors: {
  custom: {
    50: '#8f9dd9',
    500: '#5877c8',
    950: '#000000',
  },
}
SCSS
$custom: #5877c8;
$custom-light: #8f9dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5877c8",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 223.393,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.12964,
    "h": 266.6
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#5877C8
secondary
#D5C8A7
accent
#B34EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5877C8

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

Preview Lab → · Contrast checker → · Palette generator →

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