#5879AC#5879AC

#5879AC is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.3% C 0.088 H 258.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5879AC
RGBrgb(88, 121, 172)
HSLhsl(216, 34%, 51%)
HSVhsv(216, 49%, 67%)
CMYKcmyk(48.8%, 29.7%, 0%, 32.5%)
CIE-LABlab(50.37, 2.69, -30.78)
CIE-LCHlch(50.37, 30.90, 274.99°)
OKLaboklab(57.27% -0.017 -0.0863)
OKLCHoklch(57.27% 0.088 258.9)
XYZxyz(18.3058, 18.7268, 41.6717)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879AC #AC8B58
analogous
#58A3AC #5879AC #6158AC
triadic
#5879AC #AC5879 #79AC58
tetradic
#5879AC #AC58A3 #AC8B58 #58AC61
square
#5879AC #AC58A3 #AC8B58 #58AC61
split-complementary
#5879AC #AC6158 #A3AC58
monochromatic
#2E405C #425C85 #5879AC #819AC0 #AABBD5

Accessibility & contrast

On white

4.43
#5879AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5879AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879AC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879AC#FFFFFF#000000##000000
##5879AC1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAE
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#34848B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5879ac;
/* rgb */ color: rgb(88, 121, 172);
/* oklch */ color: oklch(57.3% 0.088 258.9);
Tailwind
colors: {
  custom: {
    50: '#8c9fc5',
    500: '#5879ac',
    950: '#000000',
  },
}
SCSS
$custom: #5879ac;
$custom-light: #8c9fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5879ac",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 216.429,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57272,
    "c": 0.08794,
    "h": 258.9
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#5879AC
secondary
#C3B49D
accent
#9F5ECA
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5879AC

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

Preview Lab → · Contrast checker → · Palette generator →

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