#5877DD#5877DD

#5877DD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.159 H 268.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5877DD
RGBrgb(88, 119, 221)
HSLhsl(226, 66%, 61%)
HSVhsv(226, 60%, 87%)
CMYKcmyk(60.2%, 46.2%, 0%, 13.3%)
CIE-LABlab(52.38, 19.81, -55.61)
CIE-LCHlch(52.38, 59.03, 289.61°)
OKLaboklab(59.67% -0.004 -0.1588)
OKLCHoklch(59.67% 0.159 268.5)
XYZxyz(23.6681, 20.4868, 71.0997)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877DD #DDBE58
analogous
#58B9DD #5877DD #7B58DD
triadic
#5877DD #DD5877 #77DD58
tetradic
#5877DD #DD58B9 #DDBE58 #58DD7B
square
#5877DD #DD58B9 #DDBE58 #58DD7B
split-complementary
#5877DD #DD7B58 #B9DD58
monochromatic
#203C9B #2A50CE #5877DD #8BA0E7 #BECAF2

Accessibility & contrast

On white

4.12
#5877DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5877DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877DD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877DD#FFFFFF#000000##000000
##5877DD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#3077DB
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5877dd;
/* rgb */ color: rgb(88, 119, 221);
/* oklch */ color: oklch(59.7% 0.159 268.5);
Tailwind
colors: {
  custom: {
    50: '#929de8',
    500: '#5877dd',
    950: '#000000',
  },
}
SCSS
$custom: #5877dd;
$custom-light: #929de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5877dd",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 226.015,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59667,
    "c": 0.15886,
    "h": 268.5
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#5877DD
secondary
#E2D6AF
accent
#A317CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5877DD

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

Preview Lab → · Contrast checker → · Palette generator →

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