#5876EF#5876EF

#5876EF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.184 H 269.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5876EF
RGBrgb(88, 118, 239)
HSLhsl(228, 83%, 64%)
HSVhsv(228, 63%, 94%)
CMYKcmyk(63.2%, 50.6%, 0%, 6.3%)
CIE-LABlab(53.23, 26.47, -64.33)
CIE-LCHlch(53.23, 69.57, 292.37°)
OKLaboklab(60.67% -0.001 -0.1845)
OKLCHoklch(60.67% 0.184 269.7)
XYZxyz(26.0776, 21.2613, 84.3742)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876EF #EFD158
analogous
#58C2EF #5876EF #8558EF
triadic
#5876EF #EF5876 #76EF58
tetradic
#5876EF #EF58C2 #EFD158 #58EF85
square
#5876EF #EF58C2 #EFD158 #58EF85
split-complementary
#5876EF #EF8558 #C2EF58
monochromatic
#1233BB #2048EA #5876EF #90A4F4 #C8D2FA

Accessibility & contrast

On white

4.00
#5876EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5876EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876EF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876EF#FFFFFF#000000##000000
##5876EF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5876ef;
/* rgb */ color: rgb(88, 118, 239);
/* oklch */ color: oklch(60.7% 0.184 269.7);
Tailwind
colors: {
  custom: {
    50: '#959df5',
    500: '#5876ef',
    950: '#000000',
  },
}
SCSS
$custom: #5876ef;
$custom-light: #959df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5876ef",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 228.079,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6067,
    "c": 0.18447,
    "h": 269.7
  },
  "luminance": 0.21264
}

Semantic roles & 50–950 ramp

primary
#5876EF
secondary
#ECE1B7
accent
#B407DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5876EF

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

Preview Lab → · Contrast checker → · Palette generator →

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