#5877CF#5877CF

#5877CF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.139 H 267.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5877CF
RGBrgb(88, 119, 207)
HSLhsl(224, 55%, 58%)
HSVhsv(224, 57%, 81%)
CMYKcmyk(57.5%, 42.5%, 0%, 18.8%)
CIE-LABlab(51.58, 15.15, -48.97)
CIE-LCHlch(51.58, 51.26, 287.19°)
OKLaboklab(58.79% -0.0063 -0.1393)
OKLCHoklch(58.79% 0.139 267.4)
XYZxyz(21.8800, 19.7716, 61.6827)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877CF #CFB058
analogous
#58B2CF #5877CF #7458CF
triadic
#5877CF #CF5877 #77CF58
tetradic
#5877CF #CF58B2 #CFB058 #58CF74
square
#5877CF #CF58B2 #CFB058 #58CF74
split-complementary
#5877CF #CF7458 #B2CF58
monochromatic
#273F86 #3456B6 #5877CF #889EDD #B7C4EA

Accessibility & contrast

On white

4.24
#5877CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5877CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877CF#FFFFFF#000000##000000
##5877CF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5877cf;
/* rgb */ color: rgb(88, 119, 207);
/* oklch */ color: oklch(58.8% 0.139 267.4);
Tailwind
colors: {
  custom: {
    50: '#909dde',
    500: '#5877cf',
    950: '#000000',
  },
}
SCSS
$custom: #5877cf;
$custom-light: #909dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5877cf",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 224.37,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5879,
    "c": 0.13946,
    "h": 267.4
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

primary
#5877CF
secondary
#D9CDAA
accent
#B849DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5877CF

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

Preview Lab → · Contrast checker → · Palette generator →

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