#5876CB#5876CB

#5876CB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.135 H 267.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5876CB
RGBrgb(88, 118, 203)
HSLhsl(224, 53%, 57%)
HSVhsv(224, 57%, 80%)
CMYKcmyk(56.7%, 41.9%, 0%, 20.4%)
CIE-LABlab(51.08, 14.45, -47.48)
CIE-LCHlch(51.08, 49.63, 286.92°)
OKLaboklab(58.34% -0.0059 -0.135)
OKLCHoklch(58.34% 0.135 267.5)
XYZxyz(21.2788, 19.3417, 59.1003)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876CB #CBAD58
analogous
#58AFCB #5876CB #7458CB
triadic
#5876CB #CB5876 #76CB58
tetradic
#5876CB #CB58AF #CBAD58 #58CB74
square
#5876CB #CB58AF #CBAD58 #58CB74
split-complementary
#5876CB #CB7458 #AFCB58
monochromatic
#283F81 #3756AF #5876CB #879CDA #B5C3E8

Accessibility & contrast

On white

4.31
#5876CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5876CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876CB#FFFFFF#000000##000000
##5876CB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#068996
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5876cb;
/* rgb */ color: rgb(88, 118, 203);
/* oklch */ color: oklch(58.3% 0.135 267.5);
Tailwind
colors: {
  custom: {
    50: '#909ddb',
    500: '#5876cb',
    950: '#000000',
  },
}
SCSS
$custom: #5876cb;
$custom-light: #909ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5876cb",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 224.348,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58338,
    "c": 0.13509,
    "h": 267.5
  },
  "luminance": 0.19343
}

Semantic roles & 50–950 ramp

primary
#5876CB
secondary
#D7CBA8
accent
#B64CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5876CB

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

Preview Lab → · Contrast checker → · Palette generator →

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