#6878E2#6878E2

#6878E2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.160 H 274.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6878E2
RGBrgb(104, 120, 226)
HSLhsl(232, 68%, 65%)
HSVhsv(232, 54%, 89%)
CMYKcmyk(54%, 46.9%, 0%, 11.4%)
CIE-LABlab(53.88, 23.97, -55.97)
CIE-LCHlch(53.88, 60.88, 293.18°)
OKLaboklab(61.15% 0.0118 -0.1595)
OKLCHoklch(61.15% 0.16 274.2)
XYZxyz(26.1484, 21.8652, 74.7793)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878E2 #E2D268
analogous
#68B5E2 #6878E2 #9568E2
triadic
#6878E2 #E26878 #78E268
tetradic
#6878E2 #E268B5 #E2D268 #68E295
square
#6878E2 #E268B5 #E2D268 #68E295
split-complementary
#6878E2 #E29568 #B5E268
monochromatic
#2134AE #354AD8 #6878E2 #9BA6EC #CFD4F6

Accessibility & contrast

On white

3.91
#6878E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6878E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878E2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878E2#FFFFFF#000000##000000
##6878E21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4786E6
Deuteranopia (green-blind)
#387CE0
Tritanopia (blue-blind)
#2A8FA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6878e2;
/* rgb */ color: rgb(104, 120, 226);
/* oklch */ color: oklch(61.2% 0.160 274.2);
Tailwind
colors: {
  custom: {
    50: '#9b9eec',
    500: '#6878e2',
    950: '#000000',
  },
}
SCSS
$custom: #6878e2;
$custom-light: #9b9eec;
$custom-dark: #000000;
JSON
{
  "hex": "#6878e2",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 232.131,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.15994,
    "h": 274.2
  },
  "luminance": 0.21867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6878E2

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

Preview Lab → · Contrast checker → · Palette generator →

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