#6879E2#6879E2

#6879E2 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.159 H 273.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6879E2
RGBrgb(104, 121, 226)
HSLhsl(232, 68%, 65%)
HSVhsv(232, 54%, 89%)
CMYKcmyk(54%, 46.5%, 0%, 11.4%)
CIE-LABlab(54.14, 23.36, -55.56)
CIE-LCHlch(54.14, 60.27, 292.81°)
OKLaboklab(61.35% 0.0107 -0.1583)
OKLCHoklch(61.35% 0.159 273.9)
XYZxyz(26.2693, 22.1070, 74.8196)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879E2 #E2D168
analogous
#68B6E2 #6879E2 #9468E2
triadic
#6879E2 #E26879 #79E268
tetradic
#6879E2 #E268B6 #E2D168 #68E294
square
#6879E2 #E268B6 #E2D168 #68E294
split-complementary
#6879E2 #E29468 #B6E268
monochromatic
#2135AE #354BD8 #6879E2 #9BA7EC #CFD4F6

Accessibility & contrast

On white

3.87
#6879E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#6879E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879E2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879E2#FFFFFF#000000##000000
##6879E21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E6
Deuteranopia (green-blind)
#3A7DE0
Tritanopia (blue-blind)
#2A90A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6879e2;
/* rgb */ color: rgb(104, 121, 226);
/* oklch */ color: oklch(61.3% 0.159 273.9);
Tailwind
colors: {
  custom: {
    50: '#9b9fec',
    500: '#6879e2',
    950: '#000000',
  },
}
SCSS
$custom: #6879e2;
$custom-light: #9b9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#6879e2",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 231.639,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.15864,
    "h": 273.9
  },
  "luminance": 0.22109
}

Semantic roles & 50–950 ramp

primary
#6879E2
secondary
#E8E2BE
accent
#B616D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6879E2

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

Preview Lab → · Contrast checker → · Palette generator →

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