#6876EC#6876EC

#6876EC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.176 H 274.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6876EC
RGBrgb(104, 118, 236)
HSLhsl(234, 78%, 67%)
HSVhsv(234, 56%, 93%)
CMYKcmyk(55.9%, 50%, 0%, 7.5%)
CIE-LABlab(53.98, 28.36, -61.41)
CIE-LCHlch(53.98, 67.64, 294.79°)
OKLaboklab(61.42% 0.015 -0.1755)
OKLCHoklch(61.42% 0.176 274.9)
XYZxyz(27.3228, 21.9541, 82.1384)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876EC #ECDE68
analogous
#68B8EC #6876EC #9C68EC
triadic
#6876EC #EC6876 #76EC68
tetradic
#6876EC #EC68B8 #ECDE68 #68EC9C
square
#6876EC #EC68B8 #ECDE68 #68EC9C
split-complementary
#6876EC #EC9C68 #B8EC68
monochromatic
#182AC1 #3245E5 #6876EC #9EA7F3 #D5D9FA

Accessibility & contrast

On white

3.90
#6876EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6876EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876EC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876EC#FFFFFF#000000##000000
##6876EC1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#217CEA
Tritanopia (blue-blind)
#1991A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6876ec;
/* rgb */ color: rgb(104, 118, 236);
/* oklch */ color: oklch(61.4% 0.176 274.9);
Tailwind
colors: {
  custom: {
    50: '#9d9df3',
    500: '#6876ec',
    950: '#000000',
  },
}
SCSS
$custom: #6876ec;
$custom-light: #9d9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#6876ec",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 233.636,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61418,
    "c": 0.17616,
    "h": 274.9
  },
  "luminance": 0.21956
}

Semantic roles & 50–950 ramp

primary
#6876EC
secondary
#EDE9C3
accent
#C40CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6876EC

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

Preview Lab → · Contrast checker → · Palette generator →

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