#6878F3#6878F3

#6878F3 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.3% C 0.183 H 274.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6878F3
RGBrgb(104, 120, 243)
HSLhsl(233, 85%, 68%)
HSVhsv(233, 57%, 95%)
CMYKcmyk(57.2%, 50.6%, 0%, 4.7%)
CIE-LABlab(54.91, 29.39, -63.81)
CIE-LCHlch(54.91, 70.25, 294.73°)
OKLaboklab(62.26% 0.0136 -0.1825)
OKLCHoklch(62.26% 0.183 274.2)
XYZxyz(28.5978, 22.8449, 87.6792)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878F3 #F3E368
analogous
#68BDF3 #6878F3 #9E68F3
triadic
#6878F3 #F36878 #78F368
tetradic
#6878F3 #F368BD #F3E368 #68F39E
square
#6878F3 #F368BD #F3E368 #68F39E
split-complementary
#6878F3 #F39E68 #BDF368
monochromatic
#1127D0 #2F45EE #6878F3 #A1ABF8 #D9DDFC

Accessibility & contrast

On white

3.77
#6878F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#6878F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878F3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878F3#FFFFFF#000000##000000
##6878F31.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358AF7
Deuteranopia (green-blind)
#167EF0
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6878f3;
/* rgb */ color: rgb(104, 120, 243);
/* oklch */ color: oklch(62.3% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#9e9ef8',
    500: '#6878f3',
    950: '#000000',
  },
}
SCSS
$custom: #6878f3;
$custom-light: #9e9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#6878f3",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 233.094,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62261,
    "c": 0.18305,
    "h": 274.2
  },
  "luminance": 0.22847
}

Semantic roles & 50–950 ramp

primary
#6878F3
secondary
#F1ECC6
accent
#C804E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6878F3

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

Preview Lab → · Contrast checker → · Palette generator →

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