#5876CF#5876CF

#5876CF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.6% C 0.141 H 267.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5876CF
RGBrgb(88, 118, 207)
HSLhsl(225, 55%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(57.5%, 43%, 0%, 18.8%)
CIE-LABlab(51.31, 15.76, -49.40)
CIE-LCHlch(51.31, 51.86, 287.70°)
OKLaboklab(58.58% -0.0052 -0.1406)
OKLCHoklch(58.58% 0.141 267.9)
XYZxyz(21.7616, 19.5349, 61.6432)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5876CF #CFB158
analogous
#58B1CF #5876CF #7558CF
triadic
#5876CF #CF5876 #76CF58
tetradic
#5876CF #CF58B1 #CFB158 #58CF75
square
#5876CF #CF58B1 #CFB158 #58CF75
split-complementary
#5876CF #CF7558 #B1CF58
monochromatic
#273F86 #3455B6 #5876CF #889DDD #B7C4EA

Accessibility & contrast

On white

4.28
#5876CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5876CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5876CF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5876CF#FFFFFF#000000##000000
##5876CF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#3F75CD
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5876cf;
/* rgb */ color: rgb(88, 118, 207);
/* oklch */ color: oklch(58.6% 0.141 267.9);
Tailwind
colors: {
  custom: {
    50: '#909dde',
    500: '#5876cf',
    950: '#000000',
  },
}
SCSS
$custom: #5876cf;
$custom-light: #909dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5876cf",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 224.874,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.1407,
    "h": 267.9
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#5876CF
secondary
#D9CDAA
accent
#B949DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5876CF

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

Preview Lab → · Contrast checker → · Palette generator →

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