#5879DA#5879DA

#5879DA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.152 H 267.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5879DA
RGBrgb(88, 121, 218)
HSLhsl(225, 64%, 60%)
HSVhsv(225, 60%, 85%)
CMYKcmyk(59.6%, 44.5%, 0%, 14.5%)
CIE-LABlab(52.74, 17.58, -53.35)
CIE-LCHlch(52.74, 56.17, 288.24°)
OKLaboklab(59.88% -0.0065 -0.1521)
OKLCHoklch(59.88% 0.152 267.5)
XYZxyz(23.5125, 20.8095, 69.0936)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879DA #DAB958
analogous
#58BADA #5879DA #7858DA
triadic
#5879DA #DA5879 #79DA58
tetradic
#5879DA #DA58BA #DAB958 #58DA78
square
#5879DA #DA58BA #DAB958 #58DA78
split-complementary
#5879DA #DA7858 #BADA58
monochromatic
#213F96 #2C54C8 #5879DA #8AA1E5 #BCC9F0

Accessibility & contrast

On white

4.07
#5879DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5879DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879DA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879DA#FFFFFF#000000##000000
##5879DA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DE
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5879da;
/* rgb */ color: rgb(88, 121, 218);
/* oklch */ color: oklch(59.9% 0.152 267.5);
Tailwind
colors: {
  custom: {
    50: '#929fe6',
    500: '#5879da',
    950: '#000000',
  },
}
SCSS
$custom: #5879da;
$custom-light: #929fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5879da",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 224.769,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.15228,
    "h": 267.5
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#5879DA
secondary
#E0D3AE
accent
#BD41E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5879DA

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

Preview Lab → · Contrast checker → · Palette generator →

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