#6879E6#6879E6

#6879E6 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.164 H 273.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6879E6
RGBrgb(104, 121, 230)
HSLhsl(232, 72%, 65%)
HSVhsv(232, 55%, 90%)
CMYKcmyk(54.8%, 47.4%, 0%, 9.8%)
CIE-LABlab(54.37, 24.63, -57.42)
CIE-LCHlch(54.37, 62.48, 293.22°)
OKLaboklab(61.6% 0.0112 -0.1638)
OKLCHoklch(61.6% 0.164 273.9)
XYZxyz(26.8246, 22.3291, 77.7440)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879E6 #E6D568
analogous
#68B8E6 #6879E6 #9668E6
triadic
#6879E6 #E66879 #79E668
tetradic
#6879E6 #E668B8 #E6D568 #68E696
square
#6879E6 #E668B8 #E6D568 #68E696
split-complementary
#6879E6 #E69668 #B8E668
monochromatic
#1E32B6 #334ADD #6879E6 #9DA8EF #D1D6F7

Accessibility & contrast

On white

3.84
#6879E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6879E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879E6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879E6#FFFFFF#000000##000000
##6879E61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EA
Deuteranopia (green-blind)
#357DE4
Tritanopia (blue-blind)
#2491A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6879e6;
/* rgb */ color: rgb(104, 121, 230);
/* oklch */ color: oklch(61.6% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#9c9fee',
    500: '#6879e6',
    950: '#000000',
  },
}
SCSS
$custom: #6879e6;
$custom-light: #9c9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#6879e6",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 231.905,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.16414,
    "h": 273.9
  },
  "luminance": 0.22331
}

Semantic roles & 50–950 ramp

primary
#6879E6
secondary
#EAE4C0
accent
#B912D4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6879E6

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

Preview Lab → · Contrast checker → · Palette generator →

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