#5878BB#5878BB

#5878BB is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.8% C 0.110 H 263.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5878BB
RGBrgb(88, 120, 187)
HSLhsl(221, 42%, 54%)
HSVhsv(221, 53%, 73%)
CMYKcmyk(52.9%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.80, 8.02, -38.77)
CIE-LCHlch(50.80, 39.59, 281.69°)
OKLaboklab(57.84% -0.0117 -0.1095)
OKLCHoklch(57.84% 0.11 263.9)
XYZxyz(19.7076, 19.0941, 49.6511)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878BB #BB9B58
analogous
#58AABB #5878BB #6A58BB
triadic
#5878BB #BB5878 #78BB58
tetradic
#5878BB #BB58AA #BB9B58 #58BB6A
square
#5878BB #BB58AA #BB9B58 #58BB6A
split-complementary
#5878BB #BB6A58 #AABB58
monochromatic
#2C416C #3E5B98 #5878BB #839BCD #AFBEDE

Accessibility & contrast

On white

4.36
#5878BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5878BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878BB#FFFFFF#000000##000000
##5878BB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#268791
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5878bb;
/* rgb */ color: rgb(88, 120, 187);
/* oklch */ color: oklch(57.8% 0.110 263.9);
Tailwind
colors: {
  custom: {
    50: '#8d9ed0',
    500: '#5878bb',
    950: '#000000',
  },
}
SCSS
$custom: #5878bb;
$custom-light: #8d9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5878bb",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 220.606,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57842,
    "c": 0.1101,
    "h": 263.9
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#5878BB
secondary
#CDBFA2
accent
#AA56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5878BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5878BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva