#6879EA#6879EA

#6879EA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.170 H 273.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6879EA
RGBrgb(104, 121, 234)
HSLhsl(232, 76%, 66%)
HSVhsv(232, 56%, 92%)
CMYKcmyk(55.6%, 48.3%, 0%, 8.2%)
CIE-LABlab(54.61, 25.91, -59.28)
CIE-LCHlch(54.61, 64.69, 293.61°)
OKLaboklab(61.86% 0.0117 -0.1692)
OKLCHoklch(61.86% 0.17 273.9)
XYZxyz(27.3928, 22.5564, 80.7363)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879EA #EAD968
analogous
#68BAEA #6879EA #9868EA
triadic
#6879EA #EA6879 #79EA68
tetradic
#6879EA #EA68BA #EAD968 #68EA98
square
#6879EA #EA68BA #EAD968 #68EA98
split-complementary
#6879EA #EA9868 #BAEA68
monochromatic
#1A30BD #3249E3 #6879EA #9EA9F1 #D3D8F9

Accessibility & contrast

On white

3.81
#6879EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6879EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879EA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879EA#FFFFFF#000000##000000
##6879EA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4288EE
Deuteranopia (green-blind)
#2E7DE8
Tritanopia (blue-blind)
#1D92A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6879ea;
/* rgb */ color: rgb(104, 121, 234);
/* oklch */ color: oklch(61.9% 0.170 273.9);
Tailwind
colors: {
  custom: {
    50: '#9c9ff1',
    500: '#6879ea',
    950: '#000000',
  },
}
SCSS
$custom: #6879ea;
$custom-light: #9c9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#6879ea",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 232.154,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.16962,
    "h": 273.9
  },
  "luminance": 0.22558
}

Semantic roles & 50–950 ramp

primary
#6879EA
secondary
#ECE7C2
accent
#BD0ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6879EA

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

Preview Lab → · Contrast checker → · Palette generator →

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