#6879F4#6879F4

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

Color values

HEX#6879F4
RGBrgb(104, 121, 244)
HSLhsl(233, 86%, 68%)
HSVhsv(233, 57%, 96%)
CMYKcmyk(57.4%, 50.4%, 0%, 4.3%)
CIE-LABlab(55.22, 29.10, -63.86)
CIE-LCHlch(55.22, 70.18, 294.50°)
OKLaboklab(62.52% 0.0126 -0.1827)
OKLCHoklch(62.52% 0.183 274)
XYZxyz(28.8701, 23.1473, 88.5169)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879F4 #F4E368
analogous
#68BFF4 #6879F4 #9D68F4
triadic
#6879F4 #F46879 #79F468
tetradic
#6879F4 #F468BF #F4E368 #68F49D
square
#6879F4 #F468BF #F4E368 #68F49D
split-complementary
#6879F4 #F49D68 #BFF468
monochromatic
#0F27D2 #2F46F0 #6879F4 #A1ACF8 #DADEFC

Accessibility & contrast

On white

3.73
#6879F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#6879F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879F4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879F4#FFFFFF#000000##000000
##6879F41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#368AF8
Deuteranopia (green-blind)
#187EF1
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6879f4;
/* rgb */ color: rgb(104, 121, 244);
/* oklch */ color: oklch(62.5% 0.183 274.0);
Tailwind
colors: {
  custom: {
    50: '#9e9ff8',
    500: '#6879f4',
    950: '#000000',
  },
}
SCSS
$custom: #6879f4;
$custom-light: #9e9ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#6879f4",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 232.714,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62516,
    "c": 0.18314,
    "h": 274
  },
  "luminance": 0.23149
}

Semantic roles & 50–950 ramp

primary
#6879F4
secondary
#F1ECC7
accent
#C803E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6879F4

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

Preview Lab → · Contrast checker → · Palette generator →

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