#6876E9#6876E9

#6876E9 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.2% C 0.172 H 274.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6876E9
RGBrgb(104, 118, 233)
HSLhsl(233, 75%, 66%)
HSVhsv(233, 55%, 91%)
CMYKcmyk(55.4%, 49.4%, 0%, 8.6%)
CIE-LABlab(53.79, 27.40, -60.03)
CIE-LCHlch(53.79, 65.99, 294.54°)
OKLaboklab(61.22% 0.0147 -0.1715)
OKLCHoklch(61.22% 0.172 274.9)
XYZxyz(26.8906, 21.7812, 79.8622)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876E9 #E9DB68
analogous
#68B6E9 #6876E9 #9A68E9
triadic
#6876E9 #E96876 #76E968
tetradic
#6876E9 #E968B6 #E9DB68 #68E99A
square
#6876E9 #E968B6 #E9DB68 #68E99A
split-complementary
#6876E9 #E99A68 #B6E968
monochromatic
#1B2DBB #3346E1 #6876E9 #9DA6F1 #D3D7F9

Accessibility & contrast

On white

3.92
#6876E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6876E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876E9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876E9#FFFFFF#000000##000000
##6876E91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86ED
Deuteranopia (green-blind)
#287BE7
Tritanopia (blue-blind)
#2090A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6876e9;
/* rgb */ color: rgb(104, 118, 233);
/* oklch */ color: oklch(61.2% 0.172 274.9);
Tailwind
colors: {
  custom: {
    50: '#9c9df1',
    500: '#6876e9',
    950: '#000000',
  },
}
SCSS
$custom: #6876e9;
$custom-light: #9c9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6876e9",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 233
  },
  "hsl": {
    "h": 233.488,
    "s": 74.566,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.17209,
    "h": 274.9
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#6876E9
secondary
#ECE7C1
accent
#C10FD7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6876E9

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

Preview Lab → · Contrast checker → · Palette generator →

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