#5876EB#5876EB

#5876EB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.179 H 269.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5876EB
RGBrgb(88, 118, 235)
HSLhsl(228, 79%, 63%)
HSVhsv(228, 63%, 92%)
CMYKcmyk(62.6%, 49.8%, 0%, 7.8%)
CIE-LABlab(52.98, 25.13, -62.51)
CIE-LCHlch(52.98, 67.37, 291.90°)
OKLaboklab(60.4% -0.0014 -0.1791)
OKLCHoklch(60.4% 0.179 269.6)
XYZxyz(25.4933, 21.0275, 81.2964)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876EB #EBCD58
analogous
#58BFEB #5876EB #8358EB
triadic
#5876EB #EB5876 #76EB58
tetradic
#5876EB #EB58BF #EBCD58 #58EB83
square
#5876EB #EB58BF #EBCD58 #58EB83
split-complementary
#5876EB #EB8358 #BFEB58
monochromatic
#1536B3 #2149E4 #5876EB #8FA3F2 #C5D0F8

Accessibility & contrast

On white

4.03
#5876EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5876EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876EB#FFFFFF#000000##000000
##5876EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EF
Deuteranopia (green-blind)
#0878E9
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5876eb;
/* rgb */ color: rgb(88, 118, 235);
/* oklch */ color: oklch(60.4% 0.179 269.6);
Tailwind
colors: {
  custom: {
    50: '#949df2',
    500: '#5876eb',
    950: '#000000',
  },
}
SCSS
$custom: #5876eb;
$custom-light: #949df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5876eb",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 227.755,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60396,
    "c": 0.17912,
    "h": 269.6
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

primary
#5876EB
secondary
#EADFB5
accent
#B00BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5876EB

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

Preview Lab → · Contrast checker → · Palette generator →

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