#5877C3#5877C3

#5877C3 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.1% C 0.123 H 265.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5877C3
RGBrgb(88, 119, 195)
HSLhsl(223, 47%, 55%)
HSVhsv(223, 55%, 76%)
CMYKcmyk(54.9%, 39%, 0%, 23.5%)
CIE-LABlab(50.93, 11.21, -43.16)
CIE-LCHlch(50.93, 44.59, 284.57°)
OKLaboklab(58.08% -0.0087 -0.1223)
OKLCHoklch(58.08% 0.123 265.9)
XYZxyz(20.4684, 19.2070, 54.2479)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877C3 #C3A458
analogous
#58ACC3 #5877C3 #6E58C3
triadic
#5877C3 #C35877 #77C358
tetradic
#5877C3 #C358AC #C3A458 #58C36E
square
#5877C3 #C358AC #C3A458 #58C36E
split-complementary
#5877C3 #C36E58 #ACC358
monochromatic
#2A4076 #3B59A3 #5877C3 #859CD3 #B2C0E3

Accessibility & contrast

On white

4.34
#5877C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5877C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877C3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877C3#FFFFFF#000000##000000
##5877C31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC6
Deuteranopia (green-blind)
#4B75C1
Tritanopia (blue-blind)
#1B8893
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5877c3;
/* rgb */ color: rgb(88, 119, 195);
/* oklch */ color: oklch(58.1% 0.123 265.9);
Tailwind
colors: {
  custom: {
    50: '#8e9dd5',
    500: '#5877c3',
    950: '#000000',
  },
}
SCSS
$custom: #5877c3;
$custom-light: #8e9dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5877c3",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 195
  },
  "hsl": {
    "h": 222.617,
    "s": 47.137,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.1226,
    "h": 265.9
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

primary
#5877C3
secondary
#D2C5A5
accent
#B051D7
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5877C3

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

Preview Lab → · Contrast checker → · Palette generator →

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