#5876EA#5876EA

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

Color values

HEX#5876EA
RGBrgb(88, 118, 234)
HSLhsl(228, 78%, 63%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62.4%, 49.6%, 0%, 8.2%)
CIE-LABlab(52.92, 24.79, -62.05)
CIE-LCHlch(52.92, 66.82, 291.78°)
OKLaboklab(60.33% -0.0015 -0.1778)
OKLCHoklch(60.33% 0.178 269.5)
XYZxyz(25.3492, 20.9699, 80.5377)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876EA #EACC58
analogous
#58BFEA #5876EA #8358EA
triadic
#5876EA #EA5876 #76EA58
tetradic
#5876EA #EA58BF #EACC58 #58EA83
square
#5876EA #EA58BF #EACC58 #58EA83
split-complementary
#5876EA #EA8358 #BFEA58
monochromatic
#1636B1 #2249E3 #5876EA #8EA3F1 #C5CFF8

Accessibility & contrast

On white

4.04
#5876EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5876EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876EA#FFFFFF#000000##000000
##5876EA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#0D78E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5876ea;
/* rgb */ color: rgb(88, 118, 234);
/* oklch */ color: oklch(60.3% 0.178 269.5);
Tailwind
colors: {
  custom: {
    50: '#949df1',
    500: '#5876ea',
    950: '#000000',
  },
}
SCSS
$custom: #5876ea;
$custom-light: #949df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5876ea",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 227.671,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.17778,
    "h": 269.5
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#5876EA
secondary
#E9DEB5
accent
#B00CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5876EA

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

Preview Lab → · Contrast checker → · Palette generator →

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