#6879CE#6879CE

#6879CE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.131 H 273.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6879CE
RGBrgb(104, 121, 206)
HSLhsl(230, 51%, 61%)
HSVhsv(230, 50%, 81%)
CMYKcmyk(49.5%, 41.3%, 0%, 19.2%)
CIE-LABlab(53.03, 17.10, -46.04)
CIE-LCHlch(53.03, 49.11, 290.37°)
OKLaboklab(60.14% 0.0076 -0.1304)
OKLCHoklch(60.14% 0.131 273.3)
XYZxyz(23.6833, 21.0726, 61.2000)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879CE #CEBD68
analogous
#68ACCE #6879CE #8A68CE
triadic
#6879CE #CE6879 #79CE68
tetradic
#6879CE #CE68AC #CEBD68 #68CE8A
square
#6879CE #CE68AC #CEBD68 #68CE8A
split-complementary
#6879CE #CE8A68 #ACCE68
monochromatic
#2E3E8E #3D52BC #6879CE #96A2DD #C4CBEC

Accessibility & contrast

On white

4.03
#6879CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6879CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879CE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879CE#FFFFFF#000000##000000
##6879CE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#4D7BCC
Tritanopia (blue-blind)
#3E8B99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6879ce;
/* rgb */ color: rgb(104, 121, 206);
/* oklch */ color: oklch(60.1% 0.131 273.3);
Tailwind
colors: {
  custom: {
    50: '#999fdd',
    500: '#6879ce',
    950: '#000000',
  },
}
SCSS
$custom: #6879ce;
$custom-light: #999fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6879ce",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 230,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60139,
    "c": 0.1306,
    "h": 273.3
  },
  "luminance": 0.21074
}

Semantic roles & 50–950 ramp

primary
#6879CE
secondary
#DCD6B6
accent
#A527BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6879CE

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

Preview Lab → · Contrast checker → · Palette generator →

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