#5876E9#5876E9

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

Color values

HEX#5876E9
RGBrgb(88, 118, 233)
HSLhsl(228, 77%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(62.2%, 49.4%, 0%, 8.6%)
CIE-LABlab(52.85, 24.45, -61.59)
CIE-LCHlch(52.85, 66.27, 291.65°)
OKLaboklab(60.26% -0.0016 -0.1764)
OKLCHoklch(60.26% 0.176 269.5)
XYZxyz(25.2059, 20.9126, 79.7832)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876E9 #E9CB58
analogous
#58BFE9 #5876E9 #8258E9
triadic
#5876E9 #E95876 #76E958
tetradic
#5876E9 #E958BF #E9CB58 #58E982
square
#5876E9 #E958BF #E9CB58 #58E982
split-complementary
#5876E9 #E98258 #BFE958
monochromatic
#1737AF #224AE2 #5876E9 #8EA2F0 #C4CFF7

Accessibility & contrast

On white

4.05
#5876E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5876E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876E9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876E9#FFFFFF#000000##000000
##5876E91.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785ED
Deuteranopia (green-blind)
#1278E7
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5876e9;
/* rgb */ color: rgb(88, 118, 233);
/* oklch */ color: oklch(60.3% 0.176 269.5);
Tailwind
colors: {
  custom: {
    50: '#949df1',
    500: '#5876e9',
    950: '#000000',
  },
}
SCSS
$custom: #5876e9;
$custom-light: #949df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5876e9",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 233
  },
  "hsl": {
    "h": 227.586,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6026,
    "c": 0.17643,
    "h": 269.5
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#5876E9
secondary
#E8DEB4
accent
#AF0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5876E9

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

Preview Lab → · Contrast checker → · Palette generator →

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