#6879F3#6879F3

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

Color values

HEX#6879F3
RGBrgb(104, 121, 243)
HSLhsl(233, 85%, 68%)
HSVhsv(233, 57%, 95%)
CMYKcmyk(57.2%, 50.2%, 0%, 4.7%)
CIE-LABlab(55.16, 28.78, -63.41)
CIE-LCHlch(55.16, 69.63, 294.42°)
OKLaboklab(62.45% 0.0126 -0.1814)
OKLCHoklch(62.45% 0.182 274)
XYZxyz(28.7187, 23.0867, 87.7195)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879F3 #F3E268
analogous
#68BEF3 #6879F3 #9C68F3
triadic
#6879F3 #F36879 #79F368
tetradic
#6879F3 #F368BE #F3E268 #68F39C
square
#6879F3 #F368BE #F3E268 #68F39C
split-complementary
#6879F3 #F39C68 #BEF368
monochromatic
#1128D0 #2F47EE #6879F3 #A1ABF8 #D9DEFC

Accessibility & contrast

On white

3.74
#6879F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#6879F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879F3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879F3#FFFFFF#000000##000000
##6879F31.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF7
Deuteranopia (green-blind)
#1B7EF0
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6879f3;
/* rgb */ color: rgb(104, 121, 243);
/* oklch */ color: oklch(62.4% 0.182 274.0);
Tailwind
colors: {
  custom: {
    50: '#9e9ff8',
    500: '#6879f3',
    950: '#000000',
  },
}
SCSS
$custom: #6879f3;
$custom-light: #9e9ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#6879f3",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 232.662,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62449,
    "c": 0.18179,
    "h": 274
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#6879F3
secondary
#F1EBC6
accent
#C704E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6879F3

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

Preview Lab → · Contrast checker → · Palette generator →

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