#5878DB#5878DB

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

Color values

HEX#5878DB
RGBrgb(88, 120, 219)
HSLhsl(225, 65%, 60%)
HSVhsv(225, 60%, 86%)
CMYKcmyk(59.8%, 45.2%, 0%, 14.1%)
CIE-LABlab(52.53, 18.53, -54.25)
CIE-LCHlch(52.53, 57.32, 288.86°)
OKLaboklab(59.74% -0.0053 -0.1548)
OKLCHoklch(59.74% 0.155 268)
XYZxyz(23.5228, 20.6202, 69.7446)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878DB #DBBB58
analogous
#58B9DB #5878DB #7A58DB
triadic
#5878DB #DB5878 #78DB58
tetradic
#5878DB #DB58B9 #DBBB58 #58DB7A
square
#5878DB #DB58B9 #DBBB58 #58DB7A
split-complementary
#5878DB #DB7A58 #B9DB58
monochromatic
#213E98 #2C52CA #5878DB #8AA1E6 #BDC9F1

Accessibility & contrast

On white

4.10
#5878DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5878DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878DB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878DB#FFFFFF#000000##000000
##5878DB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5878db;
/* rgb */ color: rgb(88, 120, 219);
/* oklch */ color: oklch(59.7% 0.155 268.0);
Tailwind
colors: {
  custom: {
    50: '#929ee7',
    500: '#5878db',
    950: '#000000',
  },
}
SCSS
$custom: #5878db;
$custom-light: #929ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5878db",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 225.344,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59742,
    "c": 0.15488,
    "h": 268
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#5878DB
secondary
#E1D4AE
accent
#A119CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5878DB

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

Preview Lab → · Contrast checker → · Palette generator →

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