#6879CB#6879CB

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

Color values

HEX#6879CB
RGBrgb(104, 121, 203)
HSLhsl(230, 49%, 60%)
HSVhsv(230, 49%, 80%)
CMYKcmyk(48.8%, 40.4%, 0%, 20.4%)
CIE-LABlab(52.87, 16.17, -44.58)
CIE-LCHlch(52.87, 47.43, 289.93°)
OKLaboklab(59.97% 0.007 -0.1261)
OKLCHoklch(59.97% 0.126 273.2)
XYZxyz(23.3224, 20.9282, 59.2989)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879CB #CBBA68
analogous
#68AACB #6879CB #8868CB
triadic
#6879CB #CB6879 #79CB68
tetradic
#6879CB #CB68AA #CBBA68 #68CB88
square
#6879CB #CB68AA #CBBA68 #68CB88
split-complementary
#6879CB #CB8868 #AACB68
monochromatic
#2F3F89 #3F54B7 #6879CB #96A1DB #C3CAEA

Accessibility & contrast

On white

4.05
#6879CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6879CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879CB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879CB#FFFFFF#000000##000000
##6879CB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#507AC9
Tritanopia (blue-blind)
#418A98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6879cb;
/* rgb */ color: rgb(104, 121, 203);
/* oklch */ color: oklch(60.0% 0.126 273.2);
Tailwind
colors: {
  custom: {
    50: '#999fdb',
    500: '#6879cb',
    950: '#000000',
  },
}
SCSS
$custom: #6879cb;
$custom-light: #999fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6879cb",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 229.697,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.12632,
    "h": 273.2
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#6879CB
secondary
#DAD4B4
accent
#A329BC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6879CB

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

Preview Lab → · Contrast checker → · Palette generator →

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