#6879F5#6879F5

#6879F5 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.6% C 0.184 H 274.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6879F5
RGBrgb(104, 121, 245)
HSLhsl(233, 88%, 68%)
HSVhsv(233, 58%, 96%)
CMYKcmyk(57.6%, 50.6%, 0%, 3.9%)
CIE-LABlab(55.29, 29.43, -64.32)
CIE-LCHlch(55.29, 70.73, 294.58°)
OKLaboklab(62.58% 0.0127 -0.184)
OKLCHoklch(62.58% 0.184 274)
XYZxyz(29.0223, 23.2082, 89.3188)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879F5 #F5E468
analogous
#68BFF5 #6879F5 #9D68F5
triadic
#6879F5 #F56879 #79F568
tetradic
#6879F5 #F568BF #F5E468 #68F59D
square
#6879F5 #F568BF #F5E468 #68F59D
split-complementary
#6879F5 #F59D68 #BFF568
monochromatic
#0E26D5 #2F46F1 #6879F5 #A1ACF9 #DBDFFD

Accessibility & contrast

On white

3.72
#6879F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#6879F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879F5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879F5#FFFFFF#000000##000000
##6879F51.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)
#358BF9
Deuteranopia (green-blind)
#157FF2
Tritanopia (blue-blind)
#0095AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6879f5;
/* rgb */ color: rgb(104, 121, 245);
/* oklch */ color: oklch(62.6% 0.184 274.0);
Tailwind
colors: {
  custom: {
    50: '#9e9ff9',
    500: '#6879f5',
    950: '#000000',
  },
}
SCSS
$custom: #6879f5;
$custom-light: #9e9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#6879f5",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 232.766,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62583,
    "c": 0.18447,
    "h": 274
  },
  "luminance": 0.2321
}

Semantic roles & 50–950 ramp

primary
#6879F5
secondary
#F2ECC7
accent
#C901E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6879F5

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

Preview Lab → · Contrast checker → · Palette generator →

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