#5878AC#5878AC

#5878AC is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.0% C 0.089 H 259.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5878AC
RGBrgb(88, 120, 172)
HSLhsl(217, 34%, 51%)
HSVhsv(217, 49%, 67%)
CMYKcmyk(48.8%, 30.2%, 0%, 32.5%)
CIE-LABlab(50.08, 3.29, -31.23)
CIE-LCHlch(50.08, 31.40, 276.01°)
OKLaboklab(57.05% -0.0157 -0.0876)
OKLCHoklch(57.05% 0.089 259.8)
XYZxyz(18.1849, 18.4850, 41.6314)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878AC #AC8C58
analogous
#58A2AC #5878AC #6258AC
triadic
#5878AC #AC5878 #78AC58
tetradic
#5878AC #AC58A2 #AC8C58 #58AC62
square
#5878AC #AC58A2 #AC8C58 #58AC62
split-complementary
#5878AC #AC6258 #A2AC58
monochromatic
#2E3F5C #425B85 #5878AC #8199C0 #AABAD5

Accessibility & contrast

On white

4.47
#5878AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5878AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878AC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878AC#FFFFFF#000000##000000
##5878AC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647BAE
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#34838A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5878ac;
/* rgb */ color: rgb(88, 120, 172);
/* oklch */ color: oklch(57.0% 0.089 259.8);
Tailwind
colors: {
  custom: {
    50: '#8c9ec5',
    500: '#5878ac',
    950: '#000000',
  },
}
SCSS
$custom: #5878ac;
$custom-light: #8c9ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#5878ac",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 217.143,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.08898,
    "h": 259.8
  },
  "luminance": 0.18486
}

Semantic roles & 50–950 ramp

primary
#5878AC
secondary
#C3B49D
accent
#A15ECA
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5878AC

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

Preview Lab → · Contrast checker → · Palette generator →

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