#6879E7#6879E7

#6879E7 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.166 H 273.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6879E7
RGBrgb(104, 121, 231)
HSLhsl(232, 73%, 66%)
HSVhsv(232, 55%, 91%)
CMYKcmyk(55%, 47.6%, 0%, 9.4%)
CIE-LABlab(54.43, 24.95, -57.89)
CIE-LCHlch(54.43, 63.04, 293.32°)
OKLaboklab(61.67% 0.0114 -0.1651)
OKLCHoklch(61.67% 0.166 273.9)
XYZxyz(26.9654, 22.3854, 78.4857)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879E7 #E7D668
analogous
#68B8E7 #6879E7 #9768E7
triadic
#6879E7 #E76879 #79E768
tetradic
#6879E7 #E768B8 #E7D668 #68E797
square
#6879E7 #E768B8 #E7D668 #68E797
split-complementary
#6879E7 #E79768 #B8E768
monochromatic
#1D32B7 #334ADF #6879E7 #9DA8EF #D2D7F8

Accessibility & contrast

On white

3.83
#6879E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6879E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879E7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879E7#FFFFFF#000000##000000
##6879E71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#337DE5
Tritanopia (blue-blind)
#2291A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6879e7;
/* rgb */ color: rgb(104, 121, 231);
/* oklch */ color: oklch(61.7% 0.166 273.9);
Tailwind
colors: {
  custom: {
    50: '#9c9fef',
    500: '#6879e7',
    950: '#000000',
  },
}
SCSS
$custom: #6879e7;
$custom-light: #9c9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#6879e7",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 231.969,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.16552,
    "h": 273.9
  },
  "luminance": 0.22387
}

Semantic roles & 50–950 ramp

primary
#6879E7
secondary
#EBE5C0
accent
#BA11D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6879E7

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

Preview Lab → · Contrast checker → · Palette generator →

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