#5878DA#5878DA

#5878DA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.153 H 267.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5878DA
RGBrgb(88, 120, 218)
HSLhsl(225, 64%, 60%)
HSVhsv(225, 60%, 85%)
CMYKcmyk(59.6%, 45%, 0%, 14.5%)
CIE-LABlab(52.47, 18.19, -53.78)
CIE-LCHlch(52.47, 56.77, 288.69°)
OKLaboklab(59.68% -0.0055 -0.1534)
OKLCHoklch(59.68% 0.154 267.9)
XYZxyz(23.3916, 20.5677, 69.0533)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878DA #DABA58
analogous
#58B9DA #5878DA #7958DA
triadic
#5878DA #DA5878 #78DA58
tetradic
#5878DA #DA58B9 #DABA58 #58DA79
square
#5878DA #DA58B9 #DABA58 #58DA79
split-complementary
#5878DA #DA7958 #B9DA58
monochromatic
#213E96 #2C53C8 #5878DA #8AA0E5 #BCC9F0

Accessibility & contrast

On white

4.11
#5878DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5878DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878DA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878DA#FFFFFF#000000##000000
##5878DA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5878da;
/* rgb */ color: rgb(88, 120, 218);
/* oklch */ color: oklch(59.7% 0.153 267.9);
Tailwind
colors: {
  custom: {
    50: '#929ee6',
    500: '#5878da',
    950: '#000000',
  },
}
SCSS
$custom: #5878da;
$custom-light: #929ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5878da",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 225.231,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.1535,
    "h": 267.9
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#5878DA
secondary
#E0D4AE
accent
#BE41E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5878DA

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

Preview Lab → · Contrast checker → · Palette generator →

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