#6878E8#6878E8

#6878E8 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.168 H 274.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6878E8
RGBrgb(104, 120, 232)
HSLhsl(233, 74%, 66%)
HSVhsv(233, 55%, 91%)
CMYKcmyk(55.2%, 48.3%, 0%, 9%)
CIE-LABlab(54.24, 25.87, -58.76)
CIE-LCHlch(54.24, 64.20, 293.77°)
OKLaboklab(61.54% 0.0125 -0.1677)
OKLCHoklch(61.54% 0.168 274.3)
XYZxyz(26.9862, 22.2003, 79.1913)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878E8 #E8D868
analogous
#68B8E8 #6878E8 #9868E8
triadic
#6878E8 #E86878 #78E868
tetradic
#6878E8 #E868B8 #E8D868 #68E898
square
#6878E8 #E868B8 #E8D868 #68E898
split-complementary
#6878E8 #E89868 #B8E868
monochromatic
#1C30B9 #3349E0 #6878E8 #9DA7F0 #D2D7F8

Accessibility & contrast

On white

3.86
#6878E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6878E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878E8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878E8#FFFFFF#000000##000000
##6878E81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EC
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#2191A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6878e8;
/* rgb */ color: rgb(104, 120, 232);
/* oklch */ color: oklch(61.5% 0.168 274.3);
Tailwind
colors: {
  custom: {
    50: '#9c9ef0',
    500: '#6878e8',
    950: '#000000',
  },
}
SCSS
$custom: #6878e8;
$custom-light: #9c9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#6878e8",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 232.5,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.16817,
    "h": 274.3
  },
  "luminance": 0.22202
}

Semantic roles & 50–950 ramp

primary
#6878E8
secondary
#EBE6C1
accent
#BD10D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6878E8

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

Preview Lab → · Contrast checker → · Palette generator →

#6878E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva