#5876CE#5876CE

#5876CE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.5% C 0.139 H 267.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5876CE
RGBrgb(88, 118, 206)
HSLhsl(225, 55%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(57.3%, 42.7%, 0%, 19.2%)
CIE-LABlab(51.25, 15.43, -48.93)
CIE-LCHlch(51.25, 51.30, 287.51°)
OKLaboklab(58.52% -0.0054 -0.1392)
OKLCHoklch(58.52% 0.139 267.8)
XYZxyz(21.6398, 19.4861, 61.0014)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876CE #CEB058
analogous
#58B1CE #5876CE #7558CE
triadic
#5876CE #CE5876 #76CE58
tetradic
#5876CE #CE58B1 #CEB058 #58CE75
square
#5876CE #CE58B1 #CEB058 #58CE75
split-complementary
#5876CE #CE7558 #B1CE58
monochromatic
#273F85 #3555B4 #5876CE #879DDC #B7C4EA

Accessibility & contrast

On white

4.29
#5876CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5876CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876CE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876CE#FFFFFF#000000##000000
##5876CE1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D1
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#008998
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5876ce;
/* rgb */ color: rgb(88, 118, 206);
/* oklch */ color: oklch(58.5% 0.139 267.8);
Tailwind
colors: {
  custom: {
    50: '#909ddd',
    500: '#5876ce',
    950: '#000000',
  },
}
SCSS
$custom: #5876ce;
$custom-light: #909ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5876ce",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 224.746,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.13929,
    "h": 267.8
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#5876CE
secondary
#D9CDA9
accent
#B84ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5876CE

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

Preview Lab → · Contrast checker → · Palette generator →

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