#5877DA#5877DA

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

Color values

HEX#5877DA
RGBrgb(88, 119, 218)
HSLhsl(226, 64%, 60%)
HSVhsv(226, 60%, 85%)
CMYKcmyk(59.6%, 45.4%, 0%, 14.5%)
CIE-LABlab(52.21, 18.81, -54.20)
CIE-LCHlch(52.21, 57.37, 289.14°)
OKLaboklab(59.48% -0.0045 -0.1547)
OKLCHoklch(59.48% 0.155 268.3)
XYZxyz(23.2719, 20.3284, 69.0135)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877DA #DABB58
analogous
#58B8DA #5877DA #7A58DA
triadic
#5877DA #DA5877 #77DA58
tetradic
#5877DA #DA58B8 #DABB58 #58DA7A
square
#5877DA #DA58B8 #DABB58 #58DA7A
split-complementary
#5877DA #DA7A58 #B8DA58
monochromatic
#213D96 #2C52C8 #5877DA #8AA0E5 #BCC9F0

Accessibility & contrast

On white

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

On black

5.07
#5877DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877DA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877DA#FFFFFF#000000##000000
##5877DA1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DE
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5877da;
/* rgb */ color: rgb(88, 119, 218);
/* oklch */ color: oklch(59.5% 0.155 268.3);
Tailwind
colors: {
  custom: {
    50: '#929de6',
    500: '#5877da',
    950: '#000000',
  },
}
SCSS
$custom: #5877da;
$custom-light: #929de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5877da",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 218
  },
  "hsl": {
    "h": 225.692,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.15473,
    "h": 268.3
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#5877DA
secondary
#E0D4AE
accent
#BF41E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5877DA

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

Preview Lab → · Contrast checker → · Palette generator →

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