#5877BE#5877BE

#5877BE is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.8% C 0.116 H 265.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5877BE
RGBrgb(88, 119, 190)
HSLhsl(222, 44%, 55%)
HSVhsv(222, 54%, 75%)
CMYKcmyk(53.7%, 37.4%, 0%, 25.5%)
CIE-LABlab(50.67, 9.59, -40.70)
CIE-LCHlch(50.67, 41.82, 283.26°)
OKLaboklab(57.79% -0.0098 -0.1151)
OKLCHoklch(57.79% 0.116 265.1)
XYZxyz(19.9125, 18.9846, 51.3203)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877BE #BE9F58
analogous
#58AABE #5877BE #6C58BE
triadic
#5877BE #BE5877 #77BE58
tetradic
#5877BE #BE58AA #BE9F58 #58BE6C
square
#5877BE #BE58AA #BE9F58 #58BE6C
split-complementary
#5877BE #BE6C58 #AABE58
monochromatic
#2C4070 #3D5A9C #5877BE #849BCF #B0BFE0

Accessibility & contrast

On white

4.38
#5877BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5877BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877BE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877BE#FFFFFF#000000##000000
##5877BE1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#228691
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5877be;
/* rgb */ color: rgb(88, 119, 190);
/* oklch */ color: oklch(57.8% 0.116 265.1);
Tailwind
colors: {
  custom: {
    50: '#8e9dd2',
    500: '#5877be',
    950: '#000000',
  },
}
SCSS
$custom: #5877be;
$custom-light: #8e9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5877be",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 221.765,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.11553,
    "h": 265.1
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#5877BE
secondary
#CEC1A3
accent
#AD54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5877BE

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

Preview Lab → · Contrast checker → · Palette generator →

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