#6878F4#6878F4

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

Color values

HEX#6878F4
RGBrgb(104, 120, 244)
HSLhsl(233, 86%, 68%)
HSVhsv(233, 57%, 96%)
CMYKcmyk(57.4%, 50.8%, 0%, 4.3%)
CIE-LABlab(54.97, 29.71, -64.26)
CIE-LCHlch(54.97, 70.80, 294.81°)
OKLaboklab(62.33% 0.0136 -0.1839)
OKLCHoklch(62.33% 0.184 274.2)
XYZxyz(28.7492, 22.9055, 88.4766)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878F4 #F4E468
analogous
#68BEF4 #6878F4 #9E68F4
triadic
#6878F4 #F46878 #78F468
tetradic
#6878F4 #F468BE #F4E468 #68F49E
square
#6878F4 #F468BE #F4E468 #68F49E
split-complementary
#6878F4 #F49E68 #BEF468
monochromatic
#0F26D2 #2F45F0 #6878F4 #A1ABF8 #DADEFC

Accessibility & contrast

On white

3.76
#6878F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#6878F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878F4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878F4#FFFFFF#000000##000000
##6878F41.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AF8
Deuteranopia (green-blind)
#127EF1
Tritanopia (blue-blind)
#0094AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6878f4;
/* rgb */ color: rgb(104, 120, 244);
/* oklch */ color: oklch(62.3% 0.184 274.2);
Tailwind
colors: {
  custom: {
    50: '#9e9ef8',
    500: '#6878f4',
    950: '#000000',
  },
}
SCSS
$custom: #6878f4;
$custom-light: #9e9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#6878f4",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 233.143,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62328,
    "c": 0.18438,
    "h": 274.2
  },
  "luminance": 0.22908
}

Semantic roles & 50–950 ramp

primary
#6878F4
secondary
#F1ECC7
accent
#C903E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6878F4

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

Preview Lab → · Contrast checker → · Palette generator →

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