#5876DA#5876DA

#5876DA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.3% C 0.156 H 268.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5876DA
RGBrgb(88, 118, 218)
HSLhsl(226, 64%, 60%)
HSVhsv(226, 60%, 85%)
CMYKcmyk(59.6%, 45.9%, 0%, 14.5%)
CIE-LABlab(51.94, 19.42, -54.63)
CIE-LCHlch(51.94, 57.98, 289.57°)
OKLaboklab(59.27% -0.0034 -0.1559)
OKLCHoklch(59.27% 0.156 268.7)
XYZxyz(23.1536, 20.0916, 68.9740)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876DA #DABC58
analogous
#58B7DA #5876DA #7B58DA
triadic
#5876DA #DA5876 #76DA58
tetradic
#5876DA #DA58B7 #DABC58 #58DA7B
square
#5876DA #DA58B7 #DABC58 #58DA7B
split-complementary
#5876DA #DA7B58 #B7DA58
monochromatic
#213C96 #2C50C8 #5876DA #8A9FE5 #BCC8F0

Accessibility & contrast

On white

4.18
#5876DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5876DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876DA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876DA#FFFFFF#000000##000000
##5876DA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DE
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5876da;
/* rgb */ color: rgb(88, 118, 218);
/* oklch */ color: oklch(59.3% 0.156 268.7);
Tailwind
colors: {
  custom: {
    50: '#929de6',
    500: '#5876da',
    950: '#000000',
  },
}
SCSS
$custom: #5876da;
$custom-light: #929de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5876da",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 226.154,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.59271,
    "c": 0.15597,
    "h": 268.7
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#5876DA
secondary
#E0D4AE
accent
#C141E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5876DA

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

Preview Lab → · Contrast checker → · Palette generator →

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