#5876F3#5876F3

#5876F3 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.190 H 269.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5876F3
RGBrgb(88, 118, 243)
HSLhsl(228, 87%, 65%)
HSVhsv(228, 64%, 95%)
CMYKcmyk(63.8%, 51.4%, 0%, 4.7%)
CIE-LABlab(53.49, 27.82, -66.14)
CIE-LCHlch(53.49, 71.76, 292.81°)
OKLaboklab(60.95% -0.0006 -0.1898)
OKLCHoklch(60.95% 0.19 269.8)
XYZxyz(26.6751, 21.5002, 87.5209)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876F3 #F3D558
analogous
#58C4F3 #5876F3 #8758F3
triadic
#5876F3 #F35876 #76F358
tetradic
#5876F3 #F358C4 #F3D558 #58F387
square
#5876F3 #F358C4 #F3D558 #58F387
split-complementary
#5876F3 #F38758 #C4F358
monochromatic
#0E31C3 #1F47EF #5876F3 #91A5F7 #CAD4FB

Accessibility & contrast

On white

3.96
#5876F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5876F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876F3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876F3#FFFFFF#000000##000000
##5876F31.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F7
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5876f3;
/* rgb */ color: rgb(88, 118, 243);
/* oklch */ color: oklch(60.9% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#969df8',
    500: '#5876f3',
    950: '#000000',
  },
}
SCSS
$custom: #5876f3;
$custom-light: #969df8;
$custom-dark: #000000;
JSON
{
  "hex": "#5876f3",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 243
  },
  "hsl": {
    "h": 228.387,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60948,
    "c": 0.1898,
    "h": 269.8
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#5876F3
secondary
#EEE4B9
accent
#B802E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5876F3

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

Preview Lab → · Contrast checker → · Palette generator →

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