#5879CC#5879CC

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

Color values

HEX#5879CC
RGBrgb(88, 121, 204)
HSLhsl(223, 53%, 57%)
HSVhsv(223, 57%, 80%)
CMYKcmyk(56.9%, 40.7%, 0%, 20%)
CIE-LABlab(51.96, 12.94, -46.66)
CIE-LCHlch(51.96, 48.42, 285.50°)
OKLaboklab(59.03% -0.009 -0.1325)
OKLCHoklch(59.03% 0.133 266.1)
XYZxyz(21.7573, 20.1074, 59.8496)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879CC #CCAB58
analogous
#58B3CC #5879CC #7158CC
triadic
#5879CC #CC5879 #79CC58
tetradic
#5879CC #CC58B3 #CCAB58 #58CC71
square
#5879CC #CC58B3 #CCAB58 #58CC71
split-complementary
#5879CC #CC7158 #B3CC58
monochromatic
#284182 #3659B1 #5879CC #879FDA #B6C4E9

Accessibility & contrast

On white

4.18
#5879CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5879CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879CC#FFFFFF#000000##000000
##5879CC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5879cc;
/* rgb */ color: rgb(88, 121, 204);
/* oklch */ color: oklch(59.0% 0.133 266.1);
Tailwind
colors: {
  custom: {
    50: '#909fdc',
    500: '#5879cc',
    950: '#000000',
  },
}
SCSS
$custom: #5879cc;
$custom-light: #909fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5879cc",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 222.931,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.13283,
    "h": 266.1
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#5879CC
secondary
#D7CAA8
accent
#B34BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5879CC

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

Preview Lab → · Contrast checker → · Palette generator →

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