#6876E5#6876E5

#6876E5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.167 H 274.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6876E5
RGBrgb(104, 118, 229)
HSLhsl(233, 71%, 65%)
HSVhsv(233, 55%, 90%)
CMYKcmyk(54.6%, 48.5%, 0%, 10.2%)
CIE-LABlab(53.55, 26.13, -58.18)
CIE-LCHlch(53.55, 63.78, 294.19°)
OKLaboklab(60.96% 0.0143 -0.166)
OKLCHoklch(60.96% 0.167 274.9)
XYZxyz(26.3257, 21.5553, 76.8869)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876E5 #E5D768
analogous
#68B4E5 #6876E5 #9868E5
triadic
#6876E5 #E56876 #76E568
tetradic
#6876E5 #E568B4 #E5D768 #68E598
square
#6876E5 #E568B4 #E5D768 #68E598
split-complementary
#6876E5 #E59868 #B4E568
monochromatic
#1F30B4 #3447DC #6876E5 #9CA5EE #D0D5F7

Accessibility & contrast

On white

3.95
#6876E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6876E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876E5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876E5#FFFFFF#000000##000000
##6876E51.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E9
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#268FA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6876e5;
/* rgb */ color: rgb(104, 118, 229);
/* oklch */ color: oklch(61.0% 0.167 274.9);
Tailwind
colors: {
  custom: {
    50: '#9c9dee',
    500: '#6876e5',
    950: '#000000',
  },
}
SCSS
$custom: #6876e5;
$custom-light: #9c9dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6876e5",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 229
  },
  "hsl": {
    "h": 233.28,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.16664,
    "h": 274.9
  },
  "luminance": 0.21557
}

Semantic roles & 50–950 ramp

primary
#6876E5
secondary
#E9E5BF
accent
#BD13D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6876E5

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

Preview Lab → · Contrast checker → · Palette generator →

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