#6879CD#6879CD

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

Color values

HEX#6879CD
RGBrgb(104, 121, 205)
HSLhsl(230, 50%, 61%)
HSVhsv(230, 49%, 80%)
CMYKcmyk(49.3%, 41%, 0%, 19.6%)
CIE-LABlab(52.98, 16.79, -45.56)
CIE-LCHlch(52.98, 48.55, 290.23°)
OKLaboklab(60.08% 0.0074 -0.129)
OKLCHoklch(60.08% 0.129 273.3)
XYZxyz(23.5622, 21.0241, 60.5623)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879CD #CDBC68
analogous
#68ABCD #6879CD #8968CD
triadic
#6879CD #CD6879 #79CD68
tetradic
#6879CD #CD68AB #CDBC68 #68CD89
square
#6879CD #CD68AB #CDBC68 #68CD89
split-complementary
#6879CD #CD8968 #ABCD68
monochromatic
#2E3E8C #3E53BA #6879CD #96A2DC #C4CBEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6879CD#FFFFFF#000000##000000
##6879CD1.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)
#5883D0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#3F8B99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6879cd;
/* rgb */ color: rgb(104, 121, 205);
/* oklch */ color: oklch(60.1% 0.129 273.3);
Tailwind
colors: {
  custom: {
    50: '#999fdd',
    500: '#6879cd',
    950: '#000000',
  },
}
SCSS
$custom: #6879cd;
$custom-light: #999fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6879cd",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 229.901,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60081,
    "c": 0.12917,
    "h": 273.3
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#6879CD
secondary
#DCD5B5
accent
#A428BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6879CD

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

Preview Lab → · Contrast checker → · Palette generator →

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