#6876DC#6876DC

#6876DC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.154 H 274.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6876DC
RGBrgb(104, 118, 220)
HSLhsl(233, 62%, 64%)
HSVhsv(233, 53%, 86%)
CMYKcmyk(52.7%, 46.4%, 0%, 13.7%)
CIE-LABlab(53.02, 23.29, -53.97)
CIE-LCHlch(53.02, 58.78, 293.34°)
OKLaboklab(60.39% 0.0133 -0.1537)
OKLCHoklch(60.39% 0.154 274.9)
XYZxyz(25.1015, 21.0656, 70.4396)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876DC #DCCE68
analogous
#68B0DC #6876DC #9468DC
triadic
#6876DC #DC6876 #76DC68
tetradic
#6876DC #DC68B0 #DCCE68 #68DC94
square
#6876DC #DC68B0 #DCCE68 #68DC94
split-complementary
#6876DC #DC9468 #B0DC68
monochromatic
#2635A4 #3649D0 #6876DC #9AA3E8 #CBD0F3

Accessibility & contrast

On white

4.03
#6876DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6876DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876DC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876DC#FFFFFF#000000##000000
##6876DC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E0
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#328C9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6876dc;
/* rgb */ color: rgb(104, 118, 220);
/* oklch */ color: oklch(60.4% 0.154 274.9);
Tailwind
colors: {
  custom: {
    50: '#9b9de7',
    500: '#6876dc',
    950: '#000000',
  },
}
SCSS
$custom: #6876dc;
$custom-light: #9b9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6876dc",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 232.759,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.15423,
    "h": 274.9
  },
  "luminance": 0.21067
}

Semantic roles & 50–950 ramp

primary
#6876DC
secondary
#E4DFBB
accent
#B51BCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6876DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6876DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva