#6876EB#6876EB

#6876EB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.4% C 0.175 H 274.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6876EB
RGBrgb(104, 118, 235)
HSLhsl(234, 77%, 66%)
HSVhsv(234, 56%, 92%)
CMYKcmyk(55.7%, 49.8%, 0%, 7.8%)
CIE-LABlab(53.92, 28.04, -60.95)
CIE-LCHlch(53.92, 67.09, 294.70°)
OKLaboklab(61.35% 0.0149 -0.1742)
OKLCHoklch(61.35% 0.175 274.9)
XYZxyz(27.1779, 21.8961, 81.3754)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876EB #EBDD68
analogous
#68B8EB #6876EB #9C68EB
triadic
#6876EB #EB6876 #76EB68
tetradic
#6876EB #EB68B8 #EBDD68 #68EB9C
square
#6876EB #EB68B8 #EBDD68 #68EB9C
split-complementary
#6876EB #EB9C68 #B8EB68
monochromatic
#192BBF #3245E4 #6876EB #9EA7F2 #D4D8F9

Accessibility & contrast

On white

3.90
#6876EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#6876EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876EB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876EB#FFFFFF#000000##000000
##6876EB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#1C90A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6876eb;
/* rgb */ color: rgb(104, 118, 235);
/* oklch */ color: oklch(61.4% 0.175 274.9);
Tailwind
colors: {
  custom: {
    50: '#9d9df2',
    500: '#6876eb',
    950: '#000000',
  },
}
SCSS
$custom: #6876eb;
$custom-light: #9d9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6876eb",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 233.588,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61351,
    "c": 0.17481,
    "h": 274.9
  },
  "luminance": 0.21898
}

Semantic roles & 50–950 ramp

primary
#6876EB
secondary
#EDE8C2
accent
#C30DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6876EB

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

Preview Lab → · Contrast checker → · Palette generator →

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