#5879DD#5879DD

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

Color values

HEX#5879DD
RGBrgb(88, 121, 221)
HSLhsl(225, 66%, 61%)
HSVhsv(225, 60%, 87%)
CMYKcmyk(60.2%, 45.2%, 0%, 13.3%)
CIE-LABlab(52.91, 18.58, -54.76)
CIE-LCHlch(52.91, 57.83, 288.74°)
OKLaboklab(60.07% -0.0061 -0.1563)
OKLCHoklch(60.07% 0.156 267.8)
XYZxyz(23.9086, 20.9679, 71.1799)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5879DD #DDBC58
analogous
#58BBDD #5879DD #7958DD
triadic
#5879DD #DD5879 #79DD58
tetradic
#5879DD #DD58BB #DDBC58 #58DD79
square
#5879DD #DD58BB #DDBC58 #58DD79
split-complementary
#5879DD #DD7958 #BBDD58
monochromatic
#203E9B #2A53CE #5879DD #8BA2E7 #BECBF2

Accessibility & contrast

On white

4.04
#5879DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5879DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5879DD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5879DD#FFFFFF#000000##000000
##5879DD1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5879dd;
/* rgb */ color: rgb(88, 121, 221);
/* oklch */ color: oklch(60.1% 0.156 267.8);
Tailwind
colors: {
  custom: {
    50: '#929fe8',
    500: '#5879dd',
    950: '#000000',
  },
}
SCSS
$custom: #5879dd;
$custom-light: #929fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5879dd",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 225.113,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.15641,
    "h": 267.8
  },
  "luminance": 0.2097
}

Semantic roles & 50–950 ramp

primary
#5879DD
secondary
#E2D5AF
accent
#A117CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5879DD

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

Preview Lab → · Contrast checker → · Palette generator →

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