#5878FD#5878FD

#5878FD is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.0% C 0.201 H 269.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5878FD
RGBrgb(88, 120, 253)
HSLhsl(228, 98%, 67%)
HSVhsv(228, 65%, 99%)
CMYKcmyk(65.2%, 52.6%, 0%, 0.8%)
CIE-LABlab(54.65, 29.98, -69.81)
CIE-LCHlch(54.65, 75.97, 293.24°)
OKLaboklab(62.03% -0.0017 -0.2006)
OKLCHoklch(62.03% 0.201 269.5)
XYZxyz(28.4646, 22.5969, 95.7710)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5878FD #FDDD58
analogous
#58CAFD #5878FD #8B58FD
triadic
#5878FD #FD5878 #78FD58
tetradic
#5878FD #FD58CA #FDDD58 #58FD8B
square
#5878FD #FD58CA #FDDD58 #58FD8B
split-complementary
#5878FD #FD8B58 #CAFD58
monochromatic
#032CD8 #1C47FC #5878FD #94A9FE #D1DAFE

Accessibility & contrast

On white

3.80
#5878FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5878FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5878FD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5878FD#FFFFFF#000000##000000
##5878FD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8BFF
Deuteranopia (green-blind)
#007CFA
Tritanopia (blue-blind)
#0098AF
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5878fd;
/* rgb */ color: rgb(88, 120, 253);
/* oklch */ color: oklch(62.0% 0.201 269.5);
Tailwind
colors: {
  custom: {
    50: '#979eff',
    500: '#5878fd',
    950: '#000000',
  },
}
SCSS
$custom: #5878fd;
$custom-light: #979eff;
$custom-dark: #000000;
JSON
{
  "hex": "#5878fd",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 228.364,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.20057,
    "h": 269.5
  },
  "luminance": 0.22599
}

Semantic roles & 50–950 ramp

primary
#5878FD
secondary
#F3E9BE
accent
#B900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5878FD

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

Preview Lab → · Contrast checker → · Palette generator →

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