#6876EF#6876EF

#6876EF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.6% C 0.180 H 274.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6876EF
RGBrgb(104, 118, 239)
HSLhsl(234, 81%, 67%)
HSVhsv(234, 56%, 94%)
CMYKcmyk(56.5%, 50.6%, 0%, 6.3%)
CIE-LABlab(54.16, 29.32, -62.79)
CIE-LCHlch(54.16, 69.29, 295.03°)
OKLaboklab(61.62% 0.0153 -0.1796)
OKLCHoklch(61.62% 0.18 274.9)
XYZxyz(27.7623, 22.1299, 84.4532)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876EF #EFE168
analogous
#68B9EF #6876EF #9E68EF
triadic
#6876EF #EF6876 #76EF68
tetradic
#6876EF #EF68B9 #EFE168 #68EF9E
square
#6876EF #EF68B9 #EFE168 #68EF9E
split-complementary
#6876EF #EF9E68 #B9EF68
monochromatic
#1528C7 #3144E9 #6876EF #9FA8F5 #D7DAFB

Accessibility & contrast

On white

3.87
#6876EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6876EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876EF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876EF#FFFFFF#000000##000000
##6876EF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#197CEC
Tritanopia (blue-blind)
#1191A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6876ef;
/* rgb */ color: rgb(104, 118, 239);
/* oklch */ color: oklch(61.6% 0.180 274.9);
Tailwind
colors: {
  custom: {
    50: '#9d9df5',
    500: '#6876ef',
    950: '#000000',
  },
}
SCSS
$custom: #6876ef;
$custom-light: #9d9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#6876ef",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 233.778,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.18021,
    "h": 274.9
  },
  "luminance": 0.22132
}

Semantic roles & 50–950 ramp

primary
#6876EF
secondary
#EFEAC4
accent
#C708DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6876EF

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

Preview Lab → · Contrast checker → · Palette generator →

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