#6879EF#6879EF

#6879EF is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.2% C 0.176 H 274.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6879EF
RGBrgb(104, 121, 239)
HSLhsl(232, 81%, 67%)
HSVhsv(232, 56%, 94%)
CMYKcmyk(56.5%, 49.4%, 0%, 6.3%)
CIE-LABlab(54.92, 27.50, -61.58)
CIE-LCHlch(54.92, 67.44, 294.07°)
OKLaboklab(62.18% 0.0122 -0.176)
OKLCHoklch(62.18% 0.176 274)
XYZxyz(28.1212, 22.8477, 84.5728)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879EF #EFDE68
analogous
#68BDEF #6879EF #9A68EF
triadic
#6879EF #EF6879 #79EF68
tetradic
#6879EF #EF68BD #EFDE68 #68EF9A
square
#6879EF #EF68BD #EFDE68 #68EF9A
split-complementary
#6879EF #EF9A68 #BDEF68
monochromatic
#152CC7 #3148E9 #6879EF #9FAAF5 #D7DBFB

Accessibility & contrast

On white

3.77
#6879EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#6879EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879EF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879EF#FFFFFF#000000##000000
##6879EF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F3
Deuteranopia (green-blind)
#257EED
Tritanopia (blue-blind)
#0F94A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6879ef;
/* rgb */ color: rgb(104, 121, 239);
/* oklch */ color: oklch(62.2% 0.176 274.0);
Tailwind
colors: {
  custom: {
    50: '#9d9ff5',
    500: '#6879ef',
    950: '#000000',
  },
}
SCSS
$custom: #6879ef;
$custom-light: #9d9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#6879ef",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 232.444,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62184,
    "c": 0.1764,
    "h": 274
  },
  "luminance": 0.2285
}

Semantic roles & 50–950 ramp

primary
#6879EF
secondary
#EFE9C4
accent
#C208DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6879EF

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

Preview Lab → · Contrast checker → · Palette generator →

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