#6876EA#6876EA

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

Color values

HEX#6876EA
RGBrgb(104, 118, 234)
HSLhsl(234, 76%, 66%)
HSVhsv(234, 56%, 92%)
CMYKcmyk(55.6%, 49.6%, 0%, 8.2%)
CIE-LABlab(53.86, 27.72, -60.49)
CIE-LCHlch(53.86, 66.54, 294.62°)
OKLaboklab(61.29% 0.0148 -0.1728)
OKLCHoklch(61.29% 0.173 274.9)
XYZxyz(27.0338, 21.8385, 80.6166)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876EA #EADC68
analogous
#68B7EA #6876EA #9B68EA
triadic
#6876EA #EA6876 #76EA68
tetradic
#6876EA #EA68B7 #EADC68 #68EA9B
square
#6876EA #EA68B7 #EADC68 #68EA9B
split-complementary
#6876EA #EA9B68 #B7EA68
monochromatic
#1A2CBD #3245E3 #6876EA #9EA7F1 #D3D7F9

Accessibility & contrast

On white

3.91
#6876EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6876EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876EA#FFFFFF#000000##000000
##6876EA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EE
Deuteranopia (green-blind)
#267BE8
Tritanopia (blue-blind)
#1E90A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6876ea;
/* rgb */ color: rgb(104, 118, 234);
/* oklch */ color: oklch(61.3% 0.173 274.9);
Tailwind
colors: {
  custom: {
    50: '#9d9df1',
    500: '#6876ea',
    950: '#000000',
  },
}
SCSS
$custom: #6876ea;
$custom-light: #9d9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6876ea",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 233.538,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.17345,
    "h": 274.9
  },
  "luminance": 0.2184
}

Semantic roles & 50–950 ramp

primary
#6876EA
secondary
#ECE8C2
accent
#C20ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6876EA

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

Preview Lab → · Contrast checker → · Palette generator →

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