#5876DE#5876DE

#5876DE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.5% C 0.161 H 269.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5876DE
RGBrgb(88, 118, 222)
HSLhsl(227, 67%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(60.4%, 46.8%, 0%, 12.9%)
CIE-LABlab(52.18, 20.76, -56.50)
CIE-LCHlch(52.18, 60.20, 290.17°)
OKLaboklab(59.53% -0.0029 -0.1614)
OKLCHoklch(59.53% 0.161 269)
XYZxyz(23.6833, 20.3035, 71.7640)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876DE #DEC058
analogous
#58B9DE #5876DE #7D58DE
triadic
#5876DE #DE5876 #76DE58
tetradic
#5876DE #DE58B9 #DEC058 #58DE7D
square
#5876DE #DE58B9 #DEC058 #58DE7D
split-complementary
#5876DE #DE7D58 #B9DE58
monochromatic
#1F3B9D #294ED0 #5876DE #8BA0E8 #BECAF2

Accessibility & contrast

On white

4.15
#5876DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5876DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876DE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876DE#FFFFFF#000000##000000
##5876DE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E2
Deuteranopia (green-blind)
#2C77DC
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5876de;
/* rgb */ color: rgb(88, 118, 222);
/* oklch */ color: oklch(59.5% 0.161 269.0);
Tailwind
colors: {
  custom: {
    50: '#929de9',
    500: '#5876de',
    950: '#000000',
  },
}
SCSS
$custom: #5876de;
$custom-light: #929de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5876de",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 226.567,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.16147,
    "h": 269
  },
  "luminance": 0.20306
}

Semantic roles & 50–950 ramp

primary
#5876DE
secondary
#E2D7B0
accent
#A617CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5876DE

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

Preview Lab → · Contrast checker → · Palette generator →

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