#6878BB#6878BB

#6878BB is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.9% C 0.105 H 272.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6878BB
RGBrgb(104, 120, 187)
HSLhsl(228, 38%, 57%)
HSVhsv(228, 44%, 73%)
CMYKcmyk(44.4%, 35.8%, 0%, 26.7%)
CIE-LABlab(51.80, 11.92, -37.13)
CIE-LCHlch(51.80, 39.00, 287.80°)
OKLaboklab(58.88% 0.0048 -0.1044)
OKLCHoklch(58.88% 0.105 272.6)
XYZxyz(21.3923, 19.9627, 49.7301)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878BB #BBAB68
analogous
#68A2BB #6878BB #8268BB
triadic
#6878BB #BB6878 #78BB68
tetradic
#6878BB #BB68A2 #BBAB68 #68BB82
square
#6878BB #BB68A2 #BBAB68 #68BB82
split-complementary
#6878BB #BB8268 #A2BB68
monochromatic
#344174 #47589E #6878BB #929ECE #BCC3E1

Accessibility & contrast

On white

4.21
#6878BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6878BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878BB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878BB#FFFFFF#000000##000000
##6878BB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBE
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#4B8691
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6878bb;
/* rgb */ color: rgb(104, 120, 187);
/* oklch */ color: oklch(58.9% 0.105 272.6);
Tailwind
colors: {
  custom: {
    50: '#979ed0',
    500: '#6878bb',
    950: '#000000',
  },
}
SCSS
$custom: #6878bb;
$custom-light: #979ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6878bb",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 228.434,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58875,
    "c": 0.10452,
    "h": 272.6
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#6878BB
secondary
#D0CAAF
accent
#B85ACE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6878BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6878BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva