#5879FD#5879FD

#5879FD is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.2% C 0.199 H 269.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5879FD
RGBrgb(88, 121, 253)
HSLhsl(228, 98%, 67%)
HSVhsv(228, 65%, 99%)
CMYKcmyk(65.2%, 52.2%, 0%, 0.8%)
CIE-LABlab(54.91, 29.37, -69.40)
CIE-LCHlch(54.91, 75.36, 292.94°)
OKLaboklab(62.22% -0.0025 -0.1993)
OKLCHoklch(62.22% 0.199 269.3)
XYZxyz(28.5855, 22.8386, 95.8113)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879FD #FDDC58
analogous
#58CCFD #5879FD #8A58FD
triadic
#5879FD #FD5879 #79FD58
tetradic
#5879FD #FD58CC #FDDC58 #58FD8A
square
#5879FD #FD58CC #FDDC58 #58FD8A
split-complementary
#5879FD #FD8A58 #CCFD58
monochromatic
#032DD8 #1C48FC #5879FD #94AAFE #D1DAFE

Accessibility & contrast

On white

3.77
#5879FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5879FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879FD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879FD#FFFFFF#000000##000000
##5879FD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5879fd;
/* rgb */ color: rgb(88, 121, 253);
/* oklch */ color: oklch(62.2% 0.199 269.3);
Tailwind
colors: {
  custom: {
    50: '#979fff',
    500: '#5879fd',
    950: '#000000',
  },
}
SCSS
$custom: #5879fd;
$custom-light: #979fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5879fd",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 228,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62223,
    "c": 0.19937,
    "h": 269.3
  },
  "luminance": 0.22841
}

Semantic roles & 50–950 ramp

primary
#5879FD
secondary
#F3E8BE
accent
#B800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5879FD

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

Preview Lab → · Contrast checker → · Palette generator →

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