#5876C8#5876C8

#5876C8 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.2% C 0.131 H 267.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5876C8
RGBrgb(88, 118, 200)
HSLhsl(224, 50%, 56%)
HSVhsv(224, 56%, 78%)
CMYKcmyk(56%, 41%, 0%, 21.6%)
CIE-LABlab(50.92, 13.46, -46.03)
CIE-LCHlch(50.92, 47.96, 286.30°)
OKLaboklab(58.16% -0.0065 -0.1307)
OKLCHoklch(58.16% 0.131 267.2)
XYZxyz(20.9248, 19.2001, 57.2357)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876C8 #C8AA58
analogous
#58AEC8 #5876C8 #7258C8
triadic
#5876C8 #C85876 #76C858
tetradic
#5876C8 #C858AE #C8AA58 #58C872
square
#5876C8 #C858AE #C8AA58 #58C872
split-complementary
#5876C8 #C87258 #AEC858
monochromatic
#293F7D #3857AB #5876C8 #869CD7 #B4C2E6

Accessibility & contrast

On white

4.34
#5876C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5876C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876C8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876C8#FFFFFF#000000##000000
##5876C81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCB
Deuteranopia (green-blind)
#4575C6
Tritanopia (blue-blind)
#108895
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5876c8;
/* rgb */ color: rgb(88, 118, 200);
/* oklch */ color: oklch(58.2% 0.131 267.2);
Tailwind
colors: {
  custom: {
    50: '#8f9dd9',
    500: '#5876c8',
    950: '#000000',
  },
}
SCSS
$custom: #5876c8;
$custom-light: #8f9dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5876c8",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 223.929,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.13086,
    "h": 267.2
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#5876C8
secondary
#D5C9A7
accent
#B44EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5876C8

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

Preview Lab → · Contrast checker → · Palette generator →

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