#5879BB#5879BB

#5879BB is a mid, moderate blue. Relative luminance 0.193; OKLCH L 58.1% C 0.109 H 263.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5879BB
RGBrgb(88, 121, 187)
HSLhsl(220, 42%, 54%)
HSVhsv(220, 53%, 73%)
CMYKcmyk(52.9%, 35.3%, 0%, 26.7%)
CIE-LABlab(51.08, 7.41, -38.33)
CIE-LCHlch(51.08, 39.04, 280.95°)
OKLaboklab(58.06% -0.0129 -0.1082)
OKLCHoklch(58.06% 0.109 263.2)
XYZxyz(19.8285, 19.3359, 49.6914)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879BB #BB9A58
analogous
#58ABBB #5879BB #6958BB
triadic
#5879BB #BB5879 #79BB58
tetradic
#5879BB #BB58AB #BB9A58 #58BB69
square
#5879BB #BB58AB #BB9A58 #58BB69
split-complementary
#5879BB #BB6958 #ABBB58
monochromatic
#2C426C #3E5C98 #5879BB #839CCD #AFBFDE

Accessibility & contrast

On white

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

On black

4.87
#5879BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879BB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879BB#FFFFFF#000000##000000
##5879BB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#268791
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5879bb;
/* rgb */ color: rgb(88, 121, 187);
/* oklch */ color: oklch(58.1% 0.109 263.2);
Tailwind
colors: {
  custom: {
    50: '#8d9fd0',
    500: '#5879bb',
    950: '#000000',
  },
}
SCSS
$custom: #5879bb;
$custom-light: #8d9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5879bb",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 220,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5806,
    "c": 0.10894,
    "h": 263.2
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#5879BB
secondary
#CDBEA2
accent
#A956D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5879BB

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

Preview Lab → · Contrast checker → · Palette generator →

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