#5879BC#5879BC

#5879BC is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.1% C 0.110 H 263.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5879BC
RGBrgb(88, 121, 188)
HSLhsl(220, 43%, 54%)
HSVhsv(220, 53%, 74%)
CMYKcmyk(53.2%, 35.6%, 0%, 26.3%)
CIE-LABlab(51.13, 7.73, -38.83)
CIE-LCHlch(51.13, 39.59, 281.27°)
OKLaboklab(58.12% -0.0126 -0.1096)
OKLCHoklch(58.12% 0.11 263.4)
XYZxyz(19.9359, 19.3788, 50.2572)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879BC #BC9B58
analogous
#58ABBC #5879BC #6958BC
triadic
#5879BC #BC5879 #79BC58
tetradic
#5879BC #BC58AB #BC9B58 #58BC69
square
#5879BC #BC58AB #BC9B58 #58BC69
split-complementary
#5879BC #BC6958 #ABBC58
monochromatic
#2C426E #3E5C99 #5879BC #849CCE #AFBFDF

Accessibility & contrast

On white

4.31
#5879BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5879BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879BC#FFFFFF#000000##000000
##5879BC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#248892
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5879bc;
/* rgb */ color: rgb(88, 121, 188);
/* oklch */ color: oklch(58.1% 0.110 263.4);
Tailwind
colors: {
  custom: {
    50: '#8e9fd0',
    500: '#5879bc',
    950: '#000000',
  },
}
SCSS
$custom: #5879bc;
$custom-light: #8e9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5879bc",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 220.2,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.11035,
    "h": 263.4
  },
  "luminance": 0.1938
}

Semantic roles & 50–950 ramp

primary
#5879BC
secondary
#CDBFA3
accent
#A955D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5879BC

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

Preview Lab → · Contrast checker → · Palette generator →

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