#6878C8#6878C8

#6878C8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.123 H 273.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6878C8
RGBrgb(104, 120, 200)
HSLhsl(230, 47%, 60%)
HSVhsv(230, 48%, 78%)
CMYKcmyk(48%, 40%, 0%, 21.6%)
CIE-LABlab(52.45, 15.85, -43.55)
CIE-LCHlch(52.45, 46.34, 290.01°)
OKLaboklab(59.59% 0.0076 -0.1231)
OKLCHoklch(59.59% 0.123 273.6)
XYZxyz(22.8474, 20.5448, 57.3940)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878C8 #C8B868
analogous
#68A8C8 #6878C8 #8868C8
triadic
#6878C8 #C86878 #78C868
tetradic
#6878C8 #C868A8 #C8B868 #68C888
square
#6878C8 #C868A8 #C8B868 #68C888
split-complementary
#6878C8 #C88868 #A8C868
monochromatic
#303F85 #4154B2 #6878C8 #95A0D8 #C2C8E9

Accessibility & contrast

On white

4.11
#6878C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#6878C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878C8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878C8#FFFFFF#000000##000000
##6878C81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#438996
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6878c8;
/* rgb */ color: rgb(104, 120, 200);
/* oklch */ color: oklch(59.6% 0.123 273.6);
Tailwind
colors: {
  custom: {
    50: '#989ed9',
    500: '#6878c8',
    950: '#000000',
  },
}
SCSS
$custom: #6878c8;
$custom-light: #989ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#6878c8",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 230,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.12333,
    "h": 273.6
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#6878C8
secondary
#D9D2B3
accent
#C052D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #6878C8

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

Preview Lab → · Contrast checker → · Palette generator →

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