#5879CE#5879CE

#5879CE is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.136 H 266.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5879CE
RGBrgb(88, 121, 206)
HSLhsl(223, 55%, 58%)
HSVhsv(223, 57%, 81%)
CMYKcmyk(57.3%, 41.3%, 0%, 19.2%)
CIE-LABlab(52.07, 13.60, -47.63)
CIE-LCHlch(52.07, 49.53, 285.93°)
OKLaboklab(59.15% -0.0086 -0.1353)
OKLCHoklch(59.15% 0.136 266.3)
XYZxyz(21.9987, 20.2039, 61.1210)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879CE #CEAD58
analogous
#58B4CE #5879CE #7258CE
triadic
#5879CE #CE5879 #79CE58
tetradic
#5879CE #CE58B4 #CEAD58 #58CE72
square
#5879CE #CE58B4 #CEAD58 #58CE72
split-complementary
#5879CE #CE7258 #B4CE58
monochromatic
#274185 #3558B4 #5879CE #879FDC #B7C5EA

Accessibility & contrast

On white

4.17
#5879CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5879CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879CE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879CE#FFFFFF#000000##000000
##5879CE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D1
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5879ce;
/* rgb */ color: rgb(88, 121, 206);
/* oklch */ color: oklch(59.1% 0.136 266.3);
Tailwind
colors: {
  custom: {
    50: '#909fdd',
    500: '#5879ce',
    950: '#000000',
  },
}
SCSS
$custom: #5879ce;
$custom-light: #909fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5879ce",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 223.22,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.13563,
    "h": 266.3
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#5879CE
secondary
#D9CBA9
accent
#B54ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5879CE

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

Preview Lab → · Contrast checker → · Palette generator →

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