#5876F1#5876F1

#5876F1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.187 H 269.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5876F1
RGBrgb(88, 118, 241)
HSLhsl(228, 85%, 65%)
HSVhsv(228, 63%, 95%)
CMYKcmyk(63.5%, 51%, 0%, 5.5%)
CIE-LABlab(53.36, 27.15, -65.24)
CIE-LCHlch(53.36, 70.66, 292.59°)
OKLaboklab(60.81% -0.0008 -0.1871)
OKLCHoklch(60.81% 0.187 269.7)
XYZxyz(26.3747, 21.3801, 85.9389)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876F1 #F1D358
analogous
#58C3F1 #5876F1 #8758F1
triadic
#5876F1 #F15876 #76F158
tetradic
#5876F1 #F158C3 #F1D358 #58F187
square
#5876F1 #F158C3 #F1D358 #58F187
split-complementary
#5876F1 #F18758 #C3F158
monochromatic
#1032BF #2048EC #5876F1 #90A4F6 #C9D3FA

Accessibility & contrast

On white

3.98
#5876F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5876F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876F1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876F1#FFFFFF#000000##000000
##5876F11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F5
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5876f1;
/* rgb */ color: rgb(88, 118, 241);
/* oklch */ color: oklch(60.8% 0.187 269.7);
Tailwind
colors: {
  custom: {
    50: '#959df6',
    500: '#5876f1',
    950: '#000000',
  },
}
SCSS
$custom: #5876f1;
$custom-light: #959df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5876f1",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 241
  },
  "hsl": {
    "h": 228.235,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60808,
    "c": 0.18714,
    "h": 269.7
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#5876F1
secondary
#EDE2B8
accent
#B605E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5876F1

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

Preview Lab → · Contrast checker → · Palette generator →

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