#5877BF#5877BF

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

Color values

HEX#5877BF
RGBrgb(88, 119, 191)
HSLhsl(222, 45%, 55%)
HSVhsv(222, 54%, 75%)
CMYKcmyk(53.9%, 37.7%, 0%, 25.1%)
CIE-LABlab(50.72, 9.92, -41.19)
CIE-LCHlch(50.72, 42.37, 283.54°)
OKLaboklab(57.85% -0.0096 -0.1165)
OKLCHoklch(57.85% 0.117 265.3)
XYZxyz(20.0222, 19.0285, 51.8979)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877BF #BFA058
analogous
#58AABF #5877BF #6D58BF
triadic
#5877BF #BF5877 #77BF58
tetradic
#5877BF #BF58AA #BFA058 #58BF6D
square
#5877BF #BF58AA #BFA058 #58BF6D
split-complementary
#5877BF #BF6D58 #AABF58
monochromatic
#2B4071 #3C5A9D #5877BF #849BD0 #B0BFE1

Accessibility & contrast

On white

4.37
#5877BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5877BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877BF#FFFFFF#000000##000000
##5877BF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#218792
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5877bf;
/* rgb */ color: rgb(88, 119, 191);
/* oklch */ color: oklch(57.8% 0.117 265.3);
Tailwind
colors: {
  custom: {
    50: '#8e9dd2',
    500: '#5877bf',
    950: '#000000',
  },
}
SCSS
$custom: #5877bf;
$custom-light: #8e9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5877bf",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 221.942,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.11694,
    "h": 265.3
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#5877BF
secondary
#CFC2A4
accent
#AE54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5877BF

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

Preview Lab → · Contrast checker → · Palette generator →

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