#5878DF#5878DF

#5878DF is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.160 H 268.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5878DF
RGBrgb(88, 120, 223)
HSLhsl(226, 68%, 61%)
HSVhsv(226, 61%, 87%)
CMYKcmyk(60.5%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.77, 19.87, -56.12)
CIE-LCHlch(52.77, 59.54, 289.49°)
OKLaboklab(60% -0.0048 -0.1603)
OKLCHoklch(60% 0.16 268.3)
XYZxyz(24.0557, 20.8333, 72.5513)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878DF #DFBF58
analogous
#58BBDF #5878DF #7B58DF
triadic
#5878DF #DF5878 #78DF58
tetradic
#5878DF #DF58BB #DFBF58 #58DF7B
square
#5878DF #DF58BB #DFBF58 #58DF7B
split-complementary
#5878DF #DF7B58 #BBDF58
monochromatic
#1E3D9E #2850D2 #5878DF #8BA2E9 #BFCBF3

Accessibility & contrast

On white

4.06
#5878DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5878DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878DF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878DF#FFFFFF#000000##000000
##5878DF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#3078DD
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5878df;
/* rgb */ color: rgb(88, 120, 223);
/* oklch */ color: oklch(60.0% 0.160 268.3);
Tailwind
colors: {
  custom: {
    50: '#929ee9',
    500: '#5878df',
    950: '#000000',
  },
}
SCSS
$custom: #5878df;
$custom-light: #929ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5878df",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 225.778,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.16037,
    "h": 268.3
  },
  "luminance": 0.20835
}

Semantic roles & 50–950 ramp

primary
#5878DF
secondary
#E3D7B0
accent
#A416D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5878DF

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

Preview Lab → · Contrast checker → · Palette generator →

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