#5879DC#5879DC

#5879DC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.155 H 267.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5879DC
RGBrgb(88, 121, 220)
HSLhsl(225, 65%, 60%)
HSVhsv(225, 60%, 86%)
CMYKcmyk(60%, 45%, 0%, 13.7%)
CIE-LABlab(52.86, 18.25, -54.29)
CIE-LCHlch(52.86, 57.28, 288.58°)
OKLaboklab(60.01% -0.0062 -0.1549)
OKLCHoklch(60.01% 0.155 267.7)
XYZxyz(23.7758, 20.9148, 70.4803)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879DC #DCBB58
analogous
#58BBDC #5879DC #7958DC
triadic
#5879DC #DC5879 #79DC58
tetradic
#5879DC #DC58BB #DCBB58 #58DC79
square
#5879DC #DC58BB #DCBB58 #58DC79
split-complementary
#5879DC #DC7958 #BBDC58
monochromatic
#203E99 #2B53CC #5879DC #8BA2E7 #BDCAF1

Accessibility & contrast

On white

4.05
#5879DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5879DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879DC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879DC#FFFFFF#000000##000000
##5879DC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84E0
Deuteranopia (green-blind)
#3679DA
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5879dc;
/* rgb */ color: rgb(88, 121, 220);
/* oklch */ color: oklch(60.0% 0.155 267.7);
Tailwind
colors: {
  custom: {
    50: '#929fe7',
    500: '#5879dc',
    950: '#000000',
  },
}
SCSS
$custom: #5879dc;
$custom-light: #929fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5879dc",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 225,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.15503,
    "h": 267.7
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#5879DC
secondary
#E1D5AF
accent
#A018CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5879DC

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

Preview Lab → · Contrast checker → · Palette generator →

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