#5876EE#5876EE

#5876EE is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.183 H 269.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5876EE
RGBrgb(88, 118, 238)
HSLhsl(228, 82%, 64%)
HSVhsv(228, 63%, 93%)
CMYKcmyk(63%, 50.4%, 0%, 6.7%)
CIE-LABlab(53.17, 26.14, -63.88)
CIE-LCHlch(53.17, 69.02, 292.25°)
OKLaboklab(60.6% -0.0011 -0.1831)
OKLCHoklch(60.6% 0.183 269.7)
XYZxyz(25.9303, 21.2023, 83.5983)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876EE #EED058
analogous
#58C1EE #5876EE #8558EE
triadic
#5876EE #EE5876 #76EE58
tetradic
#5876EE #EE58C1 #EED058 #58EE85
square
#5876EE #EE58C1 #EED058 #58EE85
split-complementary
#5876EE #EE8558 #C1EE58
monochromatic
#1334B9 #2048E8 #5876EE #90A4F4 #C7D1F9

Accessibility & contrast

On white

4.01
#5876EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5876EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876EE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876EE#FFFFFF#000000##000000
##5876EE1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F2
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5876ee;
/* rgb */ color: rgb(88, 118, 238);
/* oklch */ color: oklch(60.6% 0.183 269.7);
Tailwind
colors: {
  custom: {
    50: '#959df4',
    500: '#5876ee',
    950: '#000000',
  },
}
SCSS
$custom: #5876ee;
$custom-light: #959df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5876ee",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 228,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60601,
    "c": 0.18314,
    "h": 269.7
  },
  "luminance": 0.21205
}

Semantic roles & 50–950 ramp

primary
#5876EE
secondary
#EBE1B7
accent
#B308DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5876EE

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

Preview Lab → · Contrast checker → · Palette generator →

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