#5878CF#5878CF

#5878CF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.138 H 266.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5878CF
RGBrgb(88, 120, 207)
HSLhsl(224, 55%, 58%)
HSVhsv(224, 57%, 81%)
CMYKcmyk(57.5%, 42%, 0%, 18.8%)
CIE-LABlab(51.85, 14.54, -48.54)
CIE-LCHlch(51.85, 50.67, 286.67°)
OKLaboklab(59% -0.0074 -0.138)
OKLCHoklch(59% 0.138 266.9)
XYZxyz(21.9997, 20.0109, 61.7226)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878CF #CFAF58
analogous
#58B3CF #5878CF #7458CF
triadic
#5878CF #CF5878 #78CF58
tetradic
#5878CF #CF58B3 #CFAF58 #58CF74
square
#5878CF #CF58B3 #CFAF58 #58CF74
split-complementary
#5878CF #CF7458 #B3CF58
monochromatic
#274086 #3457B6 #5878CF #889EDD #B7C5EA

Accessibility & contrast

On white

4.20
#5878CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5878CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878CF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878CF#FFFFFF#000000##000000
##5878CF1.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)
#5281D2
Deuteranopia (green-blind)
#4277CD
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5878cf;
/* rgb */ color: rgb(88, 120, 207);
/* oklch */ color: oklch(59.0% 0.138 266.9);
Tailwind
colors: {
  custom: {
    50: '#909ede',
    500: '#5878cf',
    950: '#000000',
  },
}
SCSS
$custom: #5878cf;
$custom-light: #909ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5878cf",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 223.866,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.13824,
    "h": 266.9
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#5878CF
secondary
#D9CCAA
accent
#B649DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5878CF

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

Preview Lab → · Contrast checker → · Palette generator →

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