#5879DE#5879DE

#5879DE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.158 H 267.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5879DE
RGBrgb(88, 121, 222)
HSLhsl(225, 67%, 61%)
HSVhsv(225, 60%, 87%)
CMYKcmyk(60.4%, 45.5%, 0%, 12.9%)
CIE-LABlab(52.97, 18.92, -55.23)
CIE-LCHlch(52.97, 58.38, 288.91°)
OKLaboklab(60.14% -0.0059 -0.1577)
OKLCHoklch(60.14% 0.158 267.9)
XYZxyz(24.0422, 21.0213, 71.8836)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879DE #DEBD58
analogous
#58BCDE #5879DE #7A58DE
triadic
#5879DE #DE5879 #79DE58
tetradic
#5879DE #DE58BC #DEBD58 #58DE7A
square
#5879DE #DE58BC #DEBD58 #58DE7A
split-complementary
#5879DE #DE7A58 #BCDE58
monochromatic
#1F3E9D #2952D0 #5879DE #8BA2E8 #BECBF2

Accessibility & contrast

On white

4.03
#5879DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5879DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879DE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879DE#FFFFFF#000000##000000
##5879DE1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E2
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5879de;
/* rgb */ color: rgb(88, 121, 222);
/* oklch */ color: oklch(60.1% 0.158 267.9);
Tailwind
colors: {
  custom: {
    50: '#929fe9',
    500: '#5879de',
    950: '#000000',
  },
}
SCSS
$custom: #5879de;
$custom-light: #929fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5879de",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 225.224,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.15778,
    "h": 267.9
  },
  "luminance": 0.21023
}

Semantic roles & 50–950 ramp

primary
#5879DE
secondary
#E2D6B0
accent
#A217CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5879DE

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

Preview Lab → · Contrast checker → · Palette generator →

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