#5877D9#5877D9

#5877D9 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.4% C 0.153 H 268.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5877D9
RGBrgb(88, 119, 217)
HSLhsl(226, 63%, 60%)
HSVhsv(226, 59%, 85%)
CMYKcmyk(59.4%, 45.2%, 0%, 14.9%)
CIE-LABlab(52.15, 18.47, -53.73)
CIE-LCHlch(52.15, 56.82, 288.97°)
OKLaboklab(59.41% -0.0046 -0.1533)
OKLCHoklch(59.41% 0.153 268.3)
XYZxyz(23.1415, 20.2762, 68.3264)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877D9 #D9BA58
analogous
#58B8D9 #5877D9 #7958D9
triadic
#5877D9 #D95877 #77D958
tetradic
#5877D9 #D958B8 #D9BA58 #58D979
square
#5877D9 #D958B8 #D9BA58 #58D979
split-complementary
#5877D9 #D97958 #B8D958
monochromatic
#223D95 #2D52C7 #5877D9 #8AA0E4 #BCC8F0

Accessibility & contrast

On white

4.15
#5877D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5877D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877D9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877D9#FFFFFF#000000##000000
##5877D91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DD
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5877d9;
/* rgb */ color: rgb(88, 119, 217);
/* oklch */ color: oklch(59.4% 0.153 268.3);
Tailwind
colors: {
  custom: {
    50: '#929de5',
    500: '#5877d9',
    950: '#000000',
  },
}
SCSS
$custom: #5877d9;
$custom-light: #929de5;
$custom-dark: #000000;
JSON
{
  "hex": "#5877d9",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 217
  },
  "hsl": {
    "h": 225.581,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59411,
    "c": 0.15335,
    "h": 268.3
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#5877D9
secondary
#DFD3AD
accent
#BF42E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5877D9

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

Preview Lab → · Contrast checker → · Palette generator →

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