#5876E8#5876E8

#5876E8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.175 H 269.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5876E8
RGBrgb(88, 118, 232)
HSLhsl(228, 76%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(62.1%, 49.1%, 0%, 9%)
CIE-LABlab(52.79, 24.12, -61.14)
CIE-LCHlch(52.79, 65.72, 291.53°)
OKLaboklab(60.19% -0.0017 -0.1751)
OKLCHoklch(60.19% 0.175 269.5)
XYZxyz(25.0635, 20.8556, 79.0330)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876E8 #E8CA58
analogous
#58BEE8 #5876E8 #8258E8
triadic
#5876E8 #E85876 #76E858
tetradic
#5876E8 #E858BE #E8CA58 #58E882
square
#5876E8 #E858BE #E8CA58 #58E882
split-complementary
#5876E8 #E88258 #BEE858
monochromatic
#1837AE #224AE1 #5876E8 #8EA2EF #C4CEF7

Accessibility & contrast

On white

4.06
#5876E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5876E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876E8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876E8#FFFFFF#000000##000000
##5876E81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#1678E6
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5876e8;
/* rgb */ color: rgb(88, 118, 232);
/* oklch */ color: oklch(60.2% 0.175 269.5);
Tailwind
colors: {
  custom: {
    50: '#949df0',
    500: '#5876e8',
    950: '#000000',
  },
}
SCSS
$custom: #5876e8;
$custom-light: #949df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5876e8",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 227.5,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.17508,
    "h": 269.5
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#5876E8
secondary
#E8DDB4
accent
#AE0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5876E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5876E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva