#5879CB#5879CB

#5879CB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.0% C 0.131 H 266.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5879CB
RGBrgb(88, 121, 203)
HSLhsl(223, 53%, 57%)
HSVhsv(223, 57%, 80%)
CMYKcmyk(56.7%, 40.4%, 0%, 20.4%)
CIE-LABlab(51.90, 12.61, -46.18)
CIE-LCHlch(51.90, 47.87, 285.27°)
OKLaboklab(58.97% -0.0092 -0.1311)
OKLCHoklch(58.97% 0.131 266)
XYZxyz(21.6377, 20.0596, 59.2200)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879CB #CBAA58
analogous
#58B2CB #5879CB #7158CB
triadic
#5879CB #CB5879 #79CB58
tetradic
#5879CB #CB58B2 #CBAA58 #58CB71
square
#5879CB #CB58B2 #CBAA58 #58CB71
split-complementary
#5879CB #CB7158 #B2CB58
monochromatic
#284181 #3759AF #5879CB #879EDA #B5C4E8

Accessibility & contrast

On white

4.19
#5879CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5879CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879CB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879CB#FFFFFF#000000##000000
##5879CB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#048B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5879cb;
/* rgb */ color: rgb(88, 121, 203);
/* oklch */ color: oklch(59.0% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#8f9fdb',
    500: '#5879cb',
    950: '#000000',
  },
}
SCSS
$custom: #5879cb;
$custom-light: #8f9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5879cb",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 222.783,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.13144,
    "h": 266
  },
  "luminance": 0.20061
}

Semantic roles & 50–950 ramp

primary
#5879CB
secondary
#D7C9A8
accent
#B34CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5879CB

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

Preview Lab → · Contrast checker → · Palette generator →

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