#5876DD#5876DD

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

Color values

HEX#5876DD
RGBrgb(88, 118, 221)
HSLhsl(226, 66%, 61%)
HSVhsv(226, 60%, 87%)
CMYKcmyk(60.2%, 46.6%, 0%, 13.3%)
CIE-LABlab(52.12, 20.42, -56.03)
CIE-LCHlch(52.12, 59.64, 290.03°)
OKLaboklab(59.47% -0.003 -0.1601)
OKLCHoklch(59.47% 0.16 268.9)
XYZxyz(23.5497, 20.2501, 71.0602)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876DD #DDBF58
analogous
#58B8DD #5876DD #7C58DD
triadic
#5876DD #DD5876 #76DD58
tetradic
#5876DD #DD58B8 #DDBF58 #58DD7C
square
#5876DD #DD58B8 #DDBF58 #58DD7C
split-complementary
#5876DD #DD7C58 #B8DD58
monochromatic
#203B9B #2A4FCE #5876DD #8BA0E7 #BEC9F2

Accessibility & contrast

On white

4.16
#5876DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5876DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876DD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876DD#FFFFFF#000000##000000
##5876DD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#2E77DB
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5876dd;
/* rgb */ color: rgb(88, 118, 221);
/* oklch */ color: oklch(59.5% 0.160 268.9);
Tailwind
colors: {
  custom: {
    50: '#929de8',
    500: '#5876dd',
    950: '#000000',
  },
}
SCSS
$custom: #5876dd;
$custom-light: #929de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5876dd",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 226.466,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59465,
    "c": 0.1601,
    "h": 268.9
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#5876DD
secondary
#E2D6AF
accent
#A517CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5876DD

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

Preview Lab → · Contrast checker → · Palette generator →

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