#6876E2#6876E2

#6876E2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.163 H 274.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6876E2
RGBrgb(104, 118, 226)
HSLhsl(233, 68%, 65%)
HSVhsv(233, 54%, 89%)
CMYKcmyk(54%, 47.8%, 0%, 11.4%)
CIE-LABlab(53.37, 25.18, -56.79)
CIE-LCHlch(53.37, 62.12, 293.91°)
OKLaboklab(60.77% 0.014 -0.1619)
OKLCHoklch(60.77% 0.163 274.9)
XYZxyz(25.9104, 21.3892, 74.6999)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876E2 #E2D468
analogous
#68B3E2 #6876E2 #9768E2
triadic
#6876E2 #E26876 #76E268
tetradic
#6876E2 #E268B3 #E2D468 #68E297
square
#6876E2 #E268B3 #E2D468 #68E297
split-complementary
#6876E2 #E29768 #B3E268
monochromatic
#2132AE #3547D8 #6876E2 #9BA5EC #CFD3F6

Accessibility & contrast

On white

3.98
#6876E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6876E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876E2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876E2#FFFFFF#000000##000000
##6876E21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#337BE0
Tritanopia (blue-blind)
#2B8EA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6876e2;
/* rgb */ color: rgb(104, 118, 226);
/* oklch */ color: oklch(60.8% 0.163 274.9);
Tailwind
colors: {
  custom: {
    50: '#9b9dec',
    500: '#6876e2',
    950: '#000000',
  },
}
SCSS
$custom: #6876e2;
$custom-light: #9b9dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6876e2",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 233.115,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.16252,
    "h": 274.9
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

primary
#6876E2
secondary
#E8E3BE
accent
#BA16D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6876E2

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

Preview Lab → · Contrast checker → · Palette generator →

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