#6878F9#6878F9

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

Color values

HEX#6878F9
RGBrgb(104, 120, 249)
HSLhsl(233, 92%, 69%)
HSVhsv(233, 58%, 98%)
CMYKcmyk(58.2%, 51.8%, 0%, 2.4%)
CIE-LABlab(55.29, 31.31, -66.52)
CIE-LCHlch(55.29, 73.52, 295.21°)
OKLaboklab(62.67% 0.014 -0.1905)
OKLCHoklch(62.67% 0.191 274.2)
XYZxyz(29.5187, 23.2133, 92.5292)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878F9 #F9E968
analogous
#68C1F9 #6878F9 #A168F9
triadic
#6878F9 #F96878 #78F968
tetradic
#6878F9 #F968C1 #F9E968 #68F9A1
square
#6878F9 #F968C1 #F9E968 #68F9A1
split-complementary
#6878F9 #F9A168 #C1F968
monochromatic
#0920DE #2D43F7 #6878F9 #A3ADFB #DEE1FE

Accessibility & contrast

On white

3.72
#6878F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#6878F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878F9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878F9#FFFFFF#000000##000000
##6878F91.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8BFE
Deuteranopia (green-blind)
#007EF6
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6878f9;
/* rgb */ color: rgb(104, 120, 249);
/* oklch */ color: oklch(62.7% 0.191 274.2);
Tailwind
colors: {
  custom: {
    50: '#9f9efc',
    500: '#6878f9',
    950: '#000000',
  },
}
SCSS
$custom: #6878f9;
$custom-light: #9f9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#6878f9",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 233.379,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62668,
    "c": 0.19105,
    "h": 274.2
  },
  "luminance": 0.23216
}

Semantic roles & 50–950 ramp

primary
#6878F9
secondary
#F3EFC9
accent
#CC00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6878F9

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

Preview Lab → · Contrast checker → · Palette generator →

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