#6879FA#6879FA

#6879FA is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.9% C 0.191 H 273.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6879FA
RGBrgb(104, 121, 250)
HSLhsl(233, 94%, 69%)
HSVhsv(233, 58%, 98%)
CMYKcmyk(58.4%, 51.6%, 0%, 2%)
CIE-LABlab(55.60, 31.03, -66.58)
CIE-LCHlch(55.60, 73.45, 294.99°)
OKLaboklab(62.92% 0.0131 -0.1907)
OKLCHoklch(62.92% 0.191 273.9)
XYZxyz(29.7960, 23.5176, 93.3932)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879FA #FAE968
analogous
#68C2FA #6879FA #A068FA
triadic
#6879FA #FA6879 #79FA68
tetradic
#6879FA #FA68C2 #FAE968 #68FAA0
square
#6879FA #FA68C2 #FAE968 #68FAA0
split-complementary
#6879FA #FAA068 #C2FA68
monochromatic
#0721E0 #2D44F8 #6879FA #A3AEFC #DEE2FE

Accessibility & contrast

On white

3.68
#6879FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#6879FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879FA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879FA#FFFFFF#000000##000000
##6879FA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8CFF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#0097AE
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6879fa;
/* rgb */ color: rgb(104, 121, 250);
/* oklch */ color: oklch(62.9% 0.191 273.9);
Tailwind
colors: {
  custom: {
    50: '#9f9ffd',
    500: '#6879fa',
    950: '#000000',
  },
}
SCSS
$custom: #6879fa;
$custom-light: #9f9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#6879fa",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 233.014,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62921,
    "c": 0.19113,
    "h": 273.9
  },
  "luminance": 0.2352
}

Semantic roles & 50–950 ramp

primary
#6879FA
secondary
#F4EFCA
accent
#CB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6879FA

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

Preview Lab → · Contrast checker → · Palette generator →

#6879FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva