#5877D4#5877D4

#5877D4 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.1% C 0.146 H 267.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5877D4
RGBrgb(88, 119, 212)
HSLhsl(225, 59%, 59%)
HSVhsv(225, 58%, 83%)
CMYKcmyk(58.5%, 43.9%, 0%, 16.9%)
CIE-LABlab(51.86, 16.81, -51.36)
CIE-LCHlch(51.86, 54.04, 288.12°)
OKLaboklab(59.1% -0.0054 -0.1463)
OKLCHoklch(59.1% 0.146 267.9)
XYZxyz(22.5010, 20.0200, 64.9531)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877D4 #D4B558
analogous
#58B5D4 #5877D4 #7758D4
triadic
#5877D4 #D45877 #77D458
tetradic
#5877D4 #D458B5 #D4B558 #58D477
square
#5877D4 #D458B5 #D4B558 #58D477
split-complementary
#5877D4 #D47758 #B5D458
monochromatic
#243F8D #3154BE #5877D4 #899FE1 #B9C6ED

Accessibility & contrast

On white

4.20
#5877D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5877D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877D4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877D4#FFFFFF#000000##000000
##5877D41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D8
Deuteranopia (green-blind)
#3C76D2
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5877d4;
/* rgb */ color: rgb(88, 119, 212);
/* oklch */ color: oklch(59.1% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#919de2',
    500: '#5877d4',
    950: '#000000',
  },
}
SCSS
$custom: #5877d4;
$custom-light: #919de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5877d4",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 212
  },
  "hsl": {
    "h": 225,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.14643,
    "h": 267.9
  },
  "luminance": 0.20022
}

Semantic roles & 50–950 ramp

primary
#5877D4
secondary
#DCD0AB
accent
#BB46E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5877D4

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

Preview Lab → · Contrast checker → · Palette generator →

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