#5877A2#5877A2

#5877A2 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.3% C 0.076 H 256.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5877A2
RGBrgb(88, 119, 162)
HSLhsl(215, 30%, 49%)
HSVhsv(215, 46%, 64%)
CMYKcmyk(45.7%, 26.5%, 0%, 36.5%)
CIE-LABlab(49.35, 0.83, -26.55)
CIE-LCHlch(49.35, 26.56, 271.79°)
OKLaboklab(56.33% -0.0175 -0.0741)
OKLCHoklch(56.33% 0.076 256.7)
XYZxyz(17.1408, 17.8759, 36.7226)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877A2 #A28358
analogous
#589CA2 #5877A2 #5E58A2
triadic
#5877A2 #A25877 #77A258
tetradic
#5877A2 #A2589C #A28358 #58A25E
square
#5877A2 #A2589C #A28358 #58A25E
split-complementary
#5877A2 #A25E58 #9CA258
monochromatic
#2D3D53 #425A7A #5877A2 #7E97B9 #A6B7CF

Accessibility & contrast

On white

4.59
#5877A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5877A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5877A2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877A2#FFFFFF#000000##FFFFFF
##5877A21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#3B8086
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5877a2;
/* rgb */ color: rgb(88, 119, 162);
/* oklch */ color: oklch(56.3% 0.076 256.7);
Tailwind
colors: {
  custom: {
    50: '#8b9ebd',
    500: '#5877a2',
    950: '#000000',
  },
}
SCSS
$custom: #5877a2;
$custom-light: #8b9ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#5877a2",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 214.865,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56327,
    "c": 0.07615,
    "h": 256.7
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#5877A2
secondary
#BCAE99
accent
#9C62C6
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5877A2

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

Preview Lab → · Contrast checker → · Palette generator →

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