#6878DA#6878DA

#6878DA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.149 H 274.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6878DA
RGBrgb(104, 120, 218)
HSLhsl(232, 61%, 63%)
HSVhsv(232, 52%, 85%)
CMYKcmyk(52.3%, 45%, 0%, 14.5%)
CIE-LABlab(53.42, 21.44, -52.20)
CIE-LCHlch(53.42, 56.43, 292.33°)
OKLaboklab(60.65% 0.0107 -0.1484)
OKLCHoklch(60.65% 0.149 274.1)
XYZxyz(25.0762, 21.4363, 69.1323)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878DA #DACA68
analogous
#68B1DA #6878DA #9168DA
triadic
#6878DA #DA6878 #78DA68
tetradic
#6878DA #DA68B1 #DACA68 #68DA91
square
#6878DA #DA68B1 #DACA68 #68DA91
split-complementary
#6878DA #DA9168 #B1DA68
monochromatic
#2738A0 #374CCE #6878DA #99A4E6 #CAD0F2

Accessibility & contrast

On white

3.97
#6878DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6878DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878DA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878DA#FFFFFF#000000##000000
##6878DA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DE
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#348D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6878da;
/* rgb */ color: rgb(104, 120, 218);
/* oklch */ color: oklch(60.7% 0.149 274.1);
Tailwind
colors: {
  custom: {
    50: '#9a9ee6',
    500: '#6878da',
    950: '#000000',
  },
}
SCSS
$custom: #6878da;
$custom-light: #9a9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#6878da",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 231.579,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.14883,
    "h": 274.1
  },
  "luminance": 0.21438
}

Semantic roles & 50–950 ramp

primary
#6878DA
secondary
#E3DEBA
accent
#B01DC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6878DA

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

Preview Lab → · Contrast checker → · Palette generator →

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