#6878EE#6878EE

#6878EE is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.176 H 274.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6878EE
RGBrgb(104, 120, 238)
HSLhsl(233, 80%, 67%)
HSVhsv(233, 56%, 93%)
CMYKcmyk(56.3%, 49.6%, 0%, 6.7%)
CIE-LABlab(54.60, 27.79, -61.52)
CIE-LCHlch(54.60, 67.51, 294.31°)
OKLaboklab(61.93% 0.0131 -0.1758)
OKLCHoklch(61.93% 0.176 274.3)
XYZxyz(27.8530, 22.5470, 83.7566)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878EE #EEDE68
analogous
#68BBEE #6878EE #9B68EE
triadic
#6878EE #EE6878 #78EE68
tetradic
#6878EE #EE68BB #EEDE68 #68EE9B
square
#6878EE #EE68BB #EEDE68 #68EE9B
split-complementary
#6878EE #EE9B68 #BBEE68
monochromatic
#162BC5 #3147E8 #6878EE #9FA9F4 #D6DAFA

Accessibility & contrast

On white

3.81
#6878EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6878EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878EE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878EE#FFFFFF#000000##000000
##6878EE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B89F2
Deuteranopia (green-blind)
#247DEC
Tritanopia (blue-blind)
#1393A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6878ee;
/* rgb */ color: rgb(104, 120, 238);
/* oklch */ color: oklch(61.9% 0.176 274.3);
Tailwind
colors: {
  custom: {
    50: '#9d9ef4',
    500: '#6878ee',
    950: '#000000',
  },
}
SCSS
$custom: #6878ee;
$custom-light: #9d9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#6878ee",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 232.836,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.17632,
    "h": 274.3
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

primary
#6878EE
secondary
#EEE9C4
accent
#C309DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6878EE

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

Preview Lab → · Contrast checker → · Palette generator →

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