#5878BF#5878BF

#5878BF is a mid, moderate blue. Relative luminance 0.193; OKLCH L 58.1% C 0.116 H 264.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5878BF
RGBrgb(88, 120, 191)
HSLhsl(221, 45%, 55%)
HSVhsv(221, 54%, 75%)
CMYKcmyk(53.9%, 37.2%, 0%, 25.1%)
CIE-LABlab(51.00, 9.31, -40.75)
CIE-LCHlch(51.00, 41.80, 282.87°)
OKLaboklab(58.07% -0.0107 -0.1152)
OKLCHoklch(58.07% 0.116 264.7)
XYZxyz(20.1418, 19.2677, 51.9378)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878BF #BF9F58
analogous
#58ACBF #5878BF #6B58BF
triadic
#5878BF #BF5878 #78BF58
tetradic
#5878BF #BF58AC #BF9F58 #58BF6B
square
#5878BF #BF58AC #BF9F58 #58BF6B
split-complementary
#5878BF #BF6B58 #ACBF58
monochromatic
#2B4171 #3C5B9D #5878BF #849CD0 #B0C0E1

Accessibility & contrast

On white

4.33
#5878BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5878BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878BF#FFFFFF#000000##000000
##5878BF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5878bf;
/* rgb */ color: rgb(88, 120, 191);
/* oklch */ color: oklch(58.1% 0.116 264.7);
Tailwind
colors: {
  custom: {
    50: '#8e9ed2',
    500: '#5878bf',
    950: '#000000',
  },
}
SCSS
$custom: #5878bf;
$custom-light: #8e9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5878bf",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 221.359,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.11575,
    "h": 264.7
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5878BF

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

Preview Lab → · Contrast checker → · Palette generator →

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