#6878FD#6878FD

#6878FD is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.9% C 0.196 H 274.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6878FD
RGBrgb(104, 120, 253)
HSLhsl(234, 97%, 70%)
HSVhsv(234, 59%, 99%)
CMYKcmyk(58.9%, 52.6%, 0%, 0.8%)
CIE-LABlab(55.55, 32.60, -68.32)
CIE-LCHlch(55.55, 75.70, 295.51°)
OKLaboklab(62.94% 0.0142 -0.1958)
OKLCHoklch(62.94% 0.196 274.2)
XYZxyz(30.1492, 23.4655, 95.8500)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878FD #FDED68
analogous
#68C3FD #6878FD #A268FD
triadic
#6878FD #FD6878 #78FD68
tetradic
#6878FD #FD68C3 #FDED68 #68FDA2
square
#6878FD #FD68C3 #FDED68 #68FDA2
split-complementary
#6878FD #FDA268 #C3FD68
monochromatic
#031CE8 #2C42FC #6878FD #A4AEFE #E1E4FF

Accessibility & contrast

On white

3.69
#6878FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#6878FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878FD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878FD#FFFFFF#000000##000000
##6878FD1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#248CFF
Deuteranopia (green-blind)
#007FFA
Tritanopia (blue-blind)
#0097AF
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6878fd;
/* rgb */ color: rgb(104, 120, 253);
/* oklch */ color: oklch(62.9% 0.196 274.2);
Tailwind
colors: {
  custom: {
    50: '#9f9eff',
    500: '#6878fd',
    950: '#000000',
  },
}
SCSS
$custom: #6878fd;
$custom-light: #9f9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#6878fd",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 233.557,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.62943,
    "c": 0.19634,
    "h": 274.2
  },
  "luminance": 0.23468
}

Semantic roles & 50–950 ramp

primary
#6878FD
secondary
#F5F1CC
accent
#CD00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6878FD

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

Preview Lab → · Contrast checker → · Palette generator →

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