#5878CA#5878CA

#5878CA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.131 H 266.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5878CA
RGBrgb(88, 120, 202)
HSLhsl(223, 52%, 57%)
HSVhsv(223, 56%, 79%)
CMYKcmyk(56.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.58, 12.89, -46.13)
CIE-LCHlch(51.58, 47.90, 285.61°)
OKLaboklab(58.7% -0.0083 -0.131)
OKLCHoklch(58.7% 0.131 266.4)
XYZxyz(21.3981, 19.7703, 58.5541)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878CA #CAAA58
analogous
#58B1CA #5878CA #7158CA
triadic
#5878CA #CA5878 #78CA58
tetradic
#5878CA #CA58B1 #CAAA58 #58CA71
square
#5878CA #CA58B1 #CAAA58 #58CA71
split-complementary
#5878CA #CA7158 #B1CA58
monochromatic
#28417F #3758AE #5878CA #869ED9 #B5C3E7

Accessibility & contrast

On white

4.24
#5878CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5878CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878CA#FFFFFF#000000##000000
##5878CA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#088A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5878ca;
/* rgb */ color: rgb(88, 120, 202);
/* oklch */ color: oklch(58.7% 0.131 266.4);
Tailwind
colors: {
  custom: {
    50: '#8f9eda',
    500: '#5878ca',
    950: '#000000',
  },
}
SCSS
$custom: #5878ca;
$custom-light: #8f9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5878ca",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 223.158,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.13123,
    "h": 266.4
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5878CA

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

Preview Lab → · Contrast checker → · Palette generator →

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