#6879F2#6879F2

#6879F2 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.4% C 0.180 H 274.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6879F2
RGBrgb(104, 121, 242)
HSLhsl(233, 84%, 68%)
HSVhsv(233, 57%, 95%)
CMYKcmyk(57%, 50%, 0%, 5.1%)
CIE-LABlab(55.10, 28.46, -62.95)
CIE-LCHlch(55.10, 69.09, 294.33°)
OKLaboklab(62.38% 0.0125 -0.18)
OKLCHoklch(62.38% 0.18 274)
XYZxyz(28.5681, 23.0265, 86.9263)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879F2 #F2E168
analogous
#68BEF2 #6879F2 #9C68F2
triadic
#6879F2 #F26879 #79F268
tetradic
#6879F2 #F268BE #F2E168 #68F29C
square
#6879F2 #F268BE #F2E168 #68F29C
split-complementary
#6879F2 #F29C68 #BEF268
monochromatic
#1229CE #3047ED #6879F2 #A0ABF7 #D9DDFC

Accessibility & contrast

On white

3.75
#6879F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#6879F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879F2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879F2#FFFFFF#000000##000000
##6879F21.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#1E7EEF
Tritanopia (blue-blind)
#0194AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6879f2;
/* rgb */ color: rgb(104, 121, 242);
/* oklch */ color: oklch(62.4% 0.180 274.0);
Tailwind
colors: {
  custom: {
    50: '#9e9ff7',
    500: '#6879f2',
    950: '#000000',
  },
}
SCSS
$custom: #6879f2;
$custom-light: #9e9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#6879f2",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 232.609,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62383,
    "c": 0.18045,
    "h": 274
  },
  "luminance": 0.23029
}

Semantic roles & 50–950 ramp

primary
#6879F2
secondary
#F0EBC6
accent
#C605E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6879F2

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

Preview Lab → · Contrast checker → · Palette generator →

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