#5879CD#5879CD

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

Color values

HEX#5879CD
RGBrgb(88, 121, 205)
HSLhsl(223, 54%, 57%)
HSVhsv(223, 57%, 80%)
CMYKcmyk(57.1%, 41%, 0%, 19.6%)
CIE-LABlab(52.01, 13.27, -47.14)
CIE-LCHlch(52.01, 48.98, 285.72°)
OKLaboklab(59.09% -0.0088 -0.1339)
OKLCHoklch(59.09% 0.134 266.2)
XYZxyz(21.8776, 20.1555, 60.4833)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879CD #CDAC58
analogous
#58B3CD #5879CD #7258CD
triadic
#5879CD #CD5879 #79CD58
tetradic
#5879CD #CD58B3 #CDAC58 #58CD72
square
#5879CD #CD58B3 #CDAC58 #58CD72
split-complementary
#5879CD #CD7258 #B3CD58
monochromatic
#274183 #3559B2 #5879CD #879FDB #B6C5E9

Accessibility & contrast

On white

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

On black

5.03
#5879CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879CD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879CD#FFFFFF#000000##000000
##5879CD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5879cd;
/* rgb */ color: rgb(88, 121, 205);
/* oklch */ color: oklch(59.1% 0.134 266.2);
Tailwind
colors: {
  custom: {
    50: '#909fdd',
    500: '#5879cd',
    950: '#000000',
  },
}
SCSS
$custom: #5879cd;
$custom-light: #909fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5879cd",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 223.077,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.13423,
    "h": 266.2
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#5879CD
secondary
#D8CBA9
accent
#B44BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5879CD

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

Preview Lab → · Contrast checker → · Palette generator →

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