#5879DB#5879DB

#5879DB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.9% C 0.154 H 267.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5879DB
RGBrgb(88, 121, 219)
HSLhsl(225, 65%, 60%)
HSVhsv(225, 60%, 86%)
CMYKcmyk(59.8%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.80, 17.91, -53.82)
CIE-LCHlch(52.80, 56.72, 288.41°)
OKLaboklab(59.95% -0.0064 -0.1535)
OKLCHoklch(59.95% 0.154 267.6)
XYZxyz(23.6437, 20.8620, 69.7849)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879DB #DBBA58
analogous
#58BBDB #5879DB #7858DB
triadic
#5879DB #DB5879 #79DB58
tetradic
#5879DB #DB58BB #DBBA58 #58DB78
square
#5879DB #DB58BB #DBBA58 #58DB78
split-complementary
#5879DB #DB7858 #BBDB58
monochromatic
#213F98 #2C54CA #5879DB #8AA1E6 #BDCAF1

Accessibility & contrast

On white

4.06
#5879DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5879DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879DB#FFFFFF#000000##000000
##5879DB1.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)
#4B84DF
Deuteranopia (green-blind)
#3878D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5879db;
/* rgb */ color: rgb(88, 121, 219);
/* oklch */ color: oklch(59.9% 0.154 267.6);
Tailwind
colors: {
  custom: {
    50: '#929fe7',
    500: '#5879db',
    950: '#000000',
  },
}
SCSS
$custom: #5879db;
$custom-light: #929fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5879db",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 224.885,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59946,
    "c": 0.15365,
    "h": 267.6
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#5879DB
secondary
#E1D4AE
accent
#9F19CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5879DB

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

Preview Lab → · Contrast checker → · Palette generator →

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