#5876F0#5876F0

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

Color values

HEX#5876F0
RGBrgb(88, 118, 240)
HSLhsl(228, 84%, 64%)
HSVhsv(228, 63%, 94%)
CMYKcmyk(63.3%, 50.8%, 0%, 5.9%)
CIE-LABlab(53.30, 26.81, -64.79)
CIE-LCHlch(53.30, 70.11, 292.48°)
OKLaboklab(60.74% -0.0009 -0.1858)
OKLCHoklch(60.74% 0.186 269.7)
XYZxyz(26.2258, 21.3205, 85.1544)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876F0 #F0D258
analogous
#58C2F0 #5876F0 #8658F0
triadic
#5876F0 #F05876 #76F058
tetradic
#5876F0 #F058C2 #F0D258 #58F086
square
#5876F0 #F058C2 #F0D258 #58F086
split-complementary
#5876F0 #F08658 #C2F058
monochromatic
#1133BD #2048EB #5876F0 #90A4F5 #C8D2FA

Accessibility & contrast

On white

3.99
#5876F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5876F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876F0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876F0#FFFFFF#000000##000000
##5876F01.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5876f0;
/* rgb */ color: rgb(88, 118, 240);
/* oklch */ color: oklch(60.7% 0.186 269.7);
Tailwind
colors: {
  custom: {
    50: '#959df6',
    500: '#5876f0',
    950: '#000000',
  },
}
SCSS
$custom: #5876f0;
$custom-light: #959df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5876f0",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 240
  },
  "hsl": {
    "h": 228.158,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.18581,
    "h": 269.7
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#5876F0
secondary
#ECE2B8
accent
#B506E0
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5876F0

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

Preview Lab → · Contrast checker → · Palette generator →

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