#5876E6#5876E6

#5876E6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.172 H 269.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5876E6
RGBrgb(88, 118, 230)
HSLhsl(227, 74%, 62%)
HSVhsv(227, 62%, 90%)
CMYKcmyk(61.7%, 48.7%, 0%, 9.8%)
CIE-LABlab(52.67, 23.44, -60.22)
CIE-LCHlch(52.67, 64.62, 291.27°)
OKLaboklab(60.06% -0.0019 -0.1724)
OKLCHoklch(60.06% 0.172 269.4)
XYZxyz(24.7810, 20.7426, 77.5454)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876E6 #E6C858
analogous
#58BDE6 #5876E6 #8158E6
triadic
#5876E6 #E65876 #76E658
tetradic
#5876E6 #E658BD #E6C858 #58E681
square
#5876E6 #E658BD #E6C858 #58E681
split-complementary
#5876E6 #E68158 #BDE658
monochromatic
#1938AA #234ADE #5876E6 #8DA2EE #C2CDF6

Accessibility & contrast

On white

4.08
#5876E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5876E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876E6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876E6#FFFFFF#000000##000000
##5876E61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84EA
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5876e6;
/* rgb */ color: rgb(88, 118, 230);
/* oklch */ color: oklch(60.1% 0.172 269.4);
Tailwind
colors: {
  custom: {
    50: '#949def',
    500: '#5876e6',
    950: '#000000',
  },
}
SCSS
$custom: #5876e6;
$custom-light: #949def;
$custom-dark: #000000;
JSON
{
  "hex": "#5876e6",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 230
  },
  "hsl": {
    "h": 227.324,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.17237,
    "h": 269.4
  },
  "luminance": 0.20745
}

Semantic roles & 50–950 ramp

primary
#5876E6
secondary
#E7DCB3
accent
#AC0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5876E6

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

Preview Lab → · Contrast checker → · Palette generator →

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