#6879CC#6879CC

#6879CC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.128 H 273.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6879CC
RGBrgb(104, 121, 204)
HSLhsl(230, 50%, 60%)
HSVhsv(230, 49%, 80%)
CMYKcmyk(49%, 40.7%, 0%, 20%)
CIE-LABlab(52.92, 16.48, -45.07)
CIE-LCHlch(52.92, 47.99, 290.08°)
OKLaboklab(60.02% 0.0072 -0.1275)
OKLCHoklch(60.02% 0.128 273.2)
XYZxyz(23.4419, 20.9760, 59.9286)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879CC #CCBB68
analogous
#68ABCC #6879CC #8968CC
triadic
#6879CC #CC6879 #79CC68
tetradic
#6879CC #CC68AB #CCBB68 #68CC89
square
#6879CC #CC68AB #CCBB68 #68CC89
split-complementary
#6879CC #CC8968 #ABCC68
monochromatic
#2F3E8B #3E53B8 #6879CC #96A2DB #C3CAEB

Accessibility & contrast

On white

4.04
#6879CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6879CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879CC#FFFFFF#000000##000000
##6879CC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883CF
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#408B99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6879cc;
/* rgb */ color: rgb(104, 121, 204);
/* oklch */ color: oklch(60.0% 0.128 273.2);
Tailwind
colors: {
  custom: {
    50: '#999fdc',
    500: '#6879cc',
    950: '#000000',
  },
}
SCSS
$custom: #6879cc;
$custom-light: #999fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6879cc",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 229.8,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.12774,
    "h": 273.2
  },
  "luminance": 0.20977
}

Semantic roles & 50–950 ramp

primary
#6879CC
secondary
#DBD5B5
accent
#A429BD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6879CC

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

Preview Lab → · Contrast checker → · Palette generator →

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