#5879BF#5879BF

#5879BF is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.3% C 0.115 H 264.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5879BF
RGBrgb(88, 121, 191)
HSLhsl(221, 45%, 55%)
HSVhsv(221, 54%, 75%)
CMYKcmyk(53.9%, 36.6%, 0%, 25.1%)
CIE-LABlab(51.28, 8.70, -40.31)
CIE-LCHlch(51.28, 41.24, 282.18°)
OKLaboklab(58.28% -0.0119 -0.114)
OKLCHoklch(58.28% 0.115 264)
XYZxyz(20.2627, 19.5095, 51.9781)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879BF #BF9E58
analogous
#58ACBF #5879BF #6B58BF
triadic
#5879BF #BF5879 #79BF58
tetradic
#5879BF #BF58AC #BF9E58 #58BF6B
square
#5879BF #BF58AC #BF9E58 #58BF6B
split-complementary
#5879BF #BF6B58 #ACBF58
monochromatic
#2B4271 #3C5B9D #5879BF #849DD0 #B0C0E1

Accessibility & contrast

On white

4.28
#5879BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5879BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879BF#FFFFFF#000000##000000
##5879BF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#208893
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5879bf;
/* rgb */ color: rgb(88, 121, 191);
/* oklch */ color: oklch(58.3% 0.115 264.0);
Tailwind
colors: {
  custom: {
    50: '#8e9fd2',
    500: '#5879bf',
    950: '#000000',
  },
}
SCSS
$custom: #5879bf;
$custom-light: #8e9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5879bf",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 220.777,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.11458,
    "h": 264
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#5879BF
secondary
#CFC1A4
accent
#AB54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5879BF

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

Preview Lab → · Contrast checker → · Palette generator →

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