#5879D9#5879D9

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

Color values

HEX#5879D9
RGBrgb(88, 121, 217)
HSLhsl(225, 63%, 60%)
HSVhsv(225, 59%, 85%)
CMYKcmyk(59.4%, 44.2%, 0%, 14.9%)
CIE-LABlab(52.68, 17.25, -52.88)
CIE-LCHlch(52.68, 55.62, 288.06°)
OKLaboklab(59.82% -0.0067 -0.1507)
OKLCHoklch(59.82% 0.151 267.5)
XYZxyz(23.3820, 20.7573, 68.4066)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879D9 #D9B858
analogous
#58BAD9 #5879D9 #7758D9
triadic
#5879D9 #D95879 #79D958
tetradic
#5879D9 #D958BA #D9B858 #58D977
square
#5879D9 #D958BA #D9B858 #58D977
split-complementary
#5879D9 #D97758 #BAD958
monochromatic
#223F95 #2D54C7 #5879D9 #8AA1E4 #BCC9F0

Accessibility & contrast

On white

4.08
#5879D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5879D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879D9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879D9#FFFFFF#000000##000000
##5879D91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DD
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5879d9;
/* rgb */ color: rgb(88, 121, 217);
/* oklch */ color: oklch(59.8% 0.151 267.5);
Tailwind
colors: {
  custom: {
    50: '#929fe5',
    500: '#5879d9',
    950: '#000000',
  },
}
SCSS
$custom: #5879d9;
$custom-light: #929fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#5879d9",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 224.651,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5982,
    "c": 0.1509,
    "h": 267.5
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#5879D9
secondary
#DFD3AD
accent
#BC42E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5879D9

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

Preview Lab → · Contrast checker → · Palette generator →

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