#6879CF#6879CF

#6879CF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.132 H 273.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6879CF
RGBrgb(104, 121, 207)
HSLhsl(230, 52%, 61%)
HSVhsv(230, 50%, 81%)
CMYKcmyk(49.8%, 41.5%, 0%, 18.8%)
CIE-LABlab(53.08, 17.40, -46.52)
CIE-LCHlch(53.08, 49.67, 290.51°)
OKLaboklab(60.2% 0.0078 -0.1318)
OKLCHoklch(60.2% 0.132 273.4)
XYZxyz(23.8052, 21.1213, 61.8418)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879CF #CFBE68
analogous
#68ACCF #6879CF #8A68CF
triadic
#6879CF #CF6879 #79CF68
tetradic
#6879CF #CF68AC #CFBE68 #68CF8A
square
#6879CF #CF68AC #CFBE68 #68CF8A
split-complementary
#6879CF #CF8A68 #ACCF68
monochromatic
#2D3E8F #3C52BE #6879CF #96A2DE #C5CBED

Accessibility & contrast

On white

4.02
#6879CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6879CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879CF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879CF#FFFFFF#000000##000000
##6879CF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D2
Deuteranopia (green-blind)
#4C7BCD
Tritanopia (blue-blind)
#3E8B9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6879cf;
/* rgb */ color: rgb(104, 121, 207);
/* oklch */ color: oklch(60.2% 0.132 273.4);
Tailwind
colors: {
  custom: {
    50: '#999fde',
    500: '#6879cf',
    950: '#000000',
  },
}
SCSS
$custom: #6879cf;
$custom-light: #999fde;
$custom-dark: #000000;
JSON
{
  "hex": "#6879cf",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 230.097,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.13202,
    "h": 273.4
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#6879CF
secondary
#DDD6B6
accent
#A626BF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6879CF

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

Preview Lab → · Contrast checker → · Palette generator →

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