#5879BD#5879BD

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

Color values

HEX#5879BD
RGBrgb(88, 121, 189)
HSLhsl(220, 43%, 54%)
HSVhsv(220, 53%, 74%)
CMYKcmyk(53.4%, 36%, 0%, 25.9%)
CIE-LABlab(51.18, 8.06, -39.32)
CIE-LCHlch(51.18, 40.14, 281.58°)
OKLaboklab(58.17% -0.0124 -0.1111)
OKLCHoklch(58.17% 0.112 263.6)
XYZxyz(20.0441, 19.4221, 50.8268)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879BD #BD9C58
analogous
#58ACBD #5879BD #6A58BD
triadic
#5879BD #BD5879 #79BD58
tetradic
#5879BD #BD58AC #BD9C58 #58BD6A
square
#5879BD #BD58AC #BD9C58 #58BD6A
split-complementary
#5879BD #BD6A58 #ACBD58
monochromatic
#2C426F #3D5C9B #5879BD #849CCE #B0BFE0

Accessibility & contrast

On white

4.30
#5879BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5879BD#FFFFFF#000000##000000
##5879BD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#238892
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5879bd;
/* rgb */ color: rgb(88, 121, 189);
/* oklch */ color: oklch(58.2% 0.112 263.6);
Tailwind
colors: {
  custom: {
    50: '#8e9fd1',
    500: '#5879bd',
    950: '#000000',
  },
}
SCSS
$custom: #5879bd;
$custom-light: #8e9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5879bd",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 220.396,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.11176,
    "h": 263.6
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#5879BD
secondary
#CEC0A3
accent
#AA55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5879BD

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

Preview Lab → · Contrast checker → · Palette generator →

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