#5876DB#5876DB

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

Color values

HEX#5876DB
RGBrgb(88, 118, 219)
HSLhsl(226, 65%, 60%)
HSVhsv(226, 60%, 86%)
CMYKcmyk(59.8%, 46.1%, 0%, 14.1%)
CIE-LABlab(52.00, 19.76, -55.10)
CIE-LCHlch(52.00, 58.53, 289.73°)
OKLaboklab(59.34% -0.0033 -0.1573)
OKLCHoklch(59.34% 0.157 268.8)
XYZxyz(23.2848, 20.1441, 69.6652)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876DB #DBBD58
analogous
#58B7DB #5876DB #7C58DB
triadic
#5876DB #DB5876 #76DB58
tetradic
#5876DB #DB58B7 #DBBD58 #58DB7C
square
#5876DB #DB58B7 #DBBD58 #58DB7C
split-complementary
#5876DB #DB7C58 #B7DB58
monochromatic
#213C98 #2C50CA #5876DB #8A9FE6 #BDC9F1

Accessibility & contrast

On white

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

On black

5.03
#5876DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876DB#FFFFFF#000000##000000
##5876DB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#3176D9
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5876db;
/* rgb */ color: rgb(88, 118, 219);
/* oklch */ color: oklch(59.3% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#929de7',
    500: '#5876db',
    950: '#000000',
  },
}
SCSS
$custom: #5876db;
$custom-light: #929de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5876db",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 226.26,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.15734,
    "h": 268.8
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#5876DB
secondary
#E1D5AE
accent
#A319CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5876DB

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

Preview Lab → · Contrast checker → · Palette generator →

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