#5877DB#5877DB

#5877DB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.5% C 0.156 H 268.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5877DB
RGBrgb(88, 119, 219)
HSLhsl(226, 65%, 60%)
HSVhsv(226, 60%, 86%)
CMYKcmyk(59.8%, 45.7%, 0%, 14.1%)
CIE-LABlab(52.27, 19.14, -54.67)
CIE-LCHlch(52.27, 57.93, 289.30°)
OKLaboklab(59.54% -0.0043 -0.156)
OKLCHoklch(59.54% 0.156 268.4)
XYZxyz(23.4032, 20.3809, 69.7047)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877DB #DBBC58
analogous
#58B8DB #5877DB #7B58DB
triadic
#5877DB #DB5877 #77DB58
tetradic
#5877DB #DB58B8 #DBBC58 #58DB7B
square
#5877DB #DB58B8 #DBBC58 #58DB7B
split-complementary
#5877DB #DB7B58 #B8DB58
monochromatic
#213D98 #2C51CA #5877DB #8AA0E6 #BDC9F1

Accessibility & contrast

On white

4.14
#5877DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5877DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877DB#FFFFFF#000000##000000
##5877DB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5877db;
/* rgb */ color: rgb(88, 119, 219);
/* oklch */ color: oklch(59.5% 0.156 268.4);
Tailwind
colors: {
  custom: {
    50: '#929de7',
    500: '#5877db',
    950: '#000000',
  },
}
SCSS
$custom: #5877db;
$custom-light: #929de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5877db",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 225.802,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.15611,
    "h": 268.4
  },
  "luminance": 0.20383
}

Semantic roles & 50–950 ramp

primary
#5877DB
secondary
#E1D5AE
accent
#A219CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5877DB

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

Preview Lab → · Contrast checker → · Palette generator →

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