#6878F8#6878F8

#6878F8 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.6% C 0.190 H 274.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6878F8
RGBrgb(104, 120, 248)
HSLhsl(233, 91%, 69%)
HSVhsv(233, 58%, 97%)
CMYKcmyk(58.1%, 51.6%, 0%, 2.7%)
CIE-LABlab(55.23, 30.99, -66.07)
CIE-LCHlch(55.23, 72.98, 295.13°)
OKLaboklab(62.6% 0.0139 -0.1892)
OKLCHoklch(62.6% 0.19 274.2)
XYZxyz(29.3631, 23.1511, 91.7100)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878F8 #F8E868
analogous
#68C0F8 #6878F8 #A068F8
triadic
#6878F8 #F86878 #78F868
tetradic
#6878F8 #F868C0 #F8E868 #68F8A0
square
#6878F8 #F868C0 #F8E868 #68F8A0
split-complementary
#6878F8 #F8A068 #C0F868
monochromatic
#0A21DB #2E44F5 #6878F8 #A2ACFB #DDE1FD

Accessibility & contrast

On white

3.73
#6878F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#6878F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878F8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878F8#FFFFFF#000000##000000
##6878F81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8BFD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#0095AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6878f8;
/* rgb */ color: rgb(104, 120, 248);
/* oklch */ color: oklch(62.6% 0.190 274.2);
Tailwind
colors: {
  custom: {
    50: '#9f9efb',
    500: '#6878f8',
    950: '#000000',
  },
}
SCSS
$custom: #6878f8;
$custom-light: #9f9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#6878f8",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 233.333,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62599,
    "c": 0.18972,
    "h": 274.2
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

primary
#6878F8
secondary
#F3EEC9
accent
#CC00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6878F8

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

Preview Lab → · Contrast checker → · Palette generator →

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