#6876ED#6876ED

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

Color values

HEX#6876ED
RGBrgb(104, 118, 237)
HSLhsl(234, 79%, 67%)
HSVhsv(234, 56%, 93%)
CMYKcmyk(56.1%, 50.2%, 0%, 7.1%)
CIE-LABlab(54.04, 28.68, -61.87)
CIE-LCHlch(54.04, 68.19, 294.87°)
OKLaboklab(61.48% 0.0151 -0.1769)
OKLCHoklch(61.48% 0.178 274.9)
XYZxyz(27.4685, 22.0124, 82.9057)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876ED #EDDF68
analogous
#68B9ED #6876ED #9D68ED
triadic
#6876ED #ED6876 #76ED68
tetradic
#6876ED #ED68B9 #EDDF68 #68ED9D
square
#6876ED #ED68B9 #EDDF68 #68ED9D
split-complementary
#6876ED #ED9D68 #B9ED68
monochromatic
#1729C3 #3144E6 #6876ED #9FA8F4 #D5D9FA

Accessibility & contrast

On white

3.89
#6876ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#6876ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876ED
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876ED#FFFFFF#000000##000000
##6876ED1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#1F7CEA
Tritanopia (blue-blind)
#1791A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6876ed;
/* rgb */ color: rgb(104, 118, 237);
/* oklch */ color: oklch(61.5% 0.178 274.9);
Tailwind
colors: {
  custom: {
    50: '#9d9df3',
    500: '#6876ed',
    950: '#000000',
  },
}
SCSS
$custom: #6876ed;
$custom-light: #9d9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#6876ed",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 233.684,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.17751,
    "h": 274.9
  },
  "luminance": 0.22014
}

Semantic roles & 50–950 ramp

primary
#6876ED
secondary
#EEE9C3
accent
#C50BDB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6876ED

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

Preview Lab → · Contrast checker → · Palette generator →

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