#5877FF#5877FF

#5877FF is a mid, highly saturated blue. Relative luminance 0.225; OKLCH L 62.0% C 0.204 H 269.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5877FF
RGBrgb(88, 119, 255)
HSLhsl(229, 100%, 67%)
HSVhsv(229, 65%, 100%)
CMYKcmyk(65.5%, 53.3%, 0%, 0%)
CIE-LABlab(54.54, 31.26, -71.10)
CIE-LCHlch(54.54, 77.67, 293.73°)
OKLaboklab(61.99% -0.0007 -0.2044)
OKLCHoklch(61.99% 0.204 269.8)
XYZxyz(28.6652, 22.4857, 97.4179)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877FF #FFE058
analogous
#58CBFF #5877FF #8C58FF
triadic
#5877FF #FF5877 #77FF58
tetradic
#5877FF #FF58CB #FFE058 #58FF8C
square
#5877FF #FF58CB #FFE058 #58FF8C
split-complementary
#5877FF #FF8C58 #CBFF58
monochromatic
#0029DD #1B45FF #5877FF #95A9FF #D2DBFF

Accessibility & contrast

On white

3.82
#5877FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5877FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877FF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877FF#FFFFFF#000000##000000
##5877FF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D8AFF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#0097B0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5877ff;
/* rgb */ color: rgb(88, 119, 255);
/* oklch */ color: oklch(62.0% 0.204 269.8);
Tailwind
colors: {
  custom: {
    50: '#989dff',
    500: '#5877ff',
    950: '#000000',
  },
}
SCSS
$custom: #5877ff;
$custom-light: #989dff;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ff",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 228.862,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61989,
    "c": 0.20438,
    "h": 269.8
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

primary
#5877FF
secondary
#F4EABF
accent
#BB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5877FF

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

Preview Lab → · Contrast checker → · Palette generator →

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