#5879CA#5879CA

#5879CA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.130 H 265.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5879CA
RGBrgb(88, 121, 202)
HSLhsl(223, 52%, 57%)
HSVhsv(223, 56%, 79%)
CMYKcmyk(56.4%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.85, 12.28, -45.69)
CIE-LCHlch(51.85, 47.32, 285.04°)
OKLaboklab(58.91% -0.0094 -0.1297)
OKLCHoklch(58.91% 0.13 265.8)
XYZxyz(21.5189, 20.0120, 58.5944)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879CA #CAA958
analogous
#58B2CA #5879CA #7058CA
triadic
#5879CA #CA5879 #79CA58
tetradic
#5879CA #CA58B2 #CAA958 #58CA70
square
#5879CA #CA58B2 #CAA958 #58CA70
split-complementary
#5879CA #CA7058 #B2CA58
monochromatic
#28427F #3759AE #5879CA #869ED9 #B5C4E7

Accessibility & contrast

On white

4.20
#5879CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5879CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879CA#FFFFFF#000000##000000
##5879CA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#078B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5879ca;
/* rgb */ color: rgb(88, 121, 202);
/* oklch */ color: oklch(58.9% 0.130 265.8);
Tailwind
colors: {
  custom: {
    50: '#8f9fda',
    500: '#5879ca',
    950: '#000000',
  },
}
SCSS
$custom: #5879ca;
$custom-light: #8f9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5879ca",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 222.632,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.13003,
    "h": 265.8
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#5879CA
secondary
#D6C9A8
accent
#B24DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5879CA

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

Preview Lab → · Contrast checker → · Palette generator →

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