#6876E1#6876E1

#6876E1 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.161 H 274.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6876E1
RGBrgb(104, 118, 225)
HSLhsl(233, 67%, 65%)
HSVhsv(233, 54%, 88%)
CMYKcmyk(53.8%, 47.6%, 0%, 11.8%)
CIE-LABlab(53.31, 24.86, -56.32)
CIE-LCHlch(53.31, 61.56, 293.82°)
OKLaboklab(60.7% 0.0139 -0.1605)
OKLCHoklch(60.7% 0.161 274.9)
XYZxyz(25.7736, 21.3344, 73.9794)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876E1 #E1D368
analogous
#68B3E1 #6876E1 #9768E1
triadic
#6876E1 #E16876 #76E168
tetradic
#6876E1 #E168B3 #E1D368 #68E197
square
#6876E1 #E168B3 #E1D368 #68E197
split-complementary
#6876E1 #E19768 #B3E168
monochromatic
#2232AC #3548D7 #6876E1 #9BA4EB #CED3F5

Accessibility & contrast

On white

3.99
#6876E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6876E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876E1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876E1#FFFFFF#000000##000000
##6876E11.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#357ADF
Tritanopia (blue-blind)
#2C8EA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6876e1;
/* rgb */ color: rgb(104, 118, 225);
/* oklch */ color: oklch(60.7% 0.161 274.9);
Tailwind
colors: {
  custom: {
    50: '#9b9deb',
    500: '#6876e1',
    950: '#000000',
  },
}
SCSS
$custom: #6876e1;
$custom-light: #9b9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#6876e1",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 233.058,
    "s": 66.851,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60701,
    "c": 0.16115,
    "h": 274.9
  },
  "luminance": 0.21336
}

Semantic roles & 50–950 ramp

primary
#6876E1
secondary
#E7E2BE
accent
#B917CF
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6876E1

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

Preview Lab → · Contrast checker → · Palette generator →

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