#6877CC#6877CC

#6877CC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.130 H 274.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6877CC
RGBrgb(104, 119, 204)
HSLhsl(231, 50%, 60%)
HSVhsv(231, 49%, 80%)
CMYKcmyk(49%, 41.7%, 0%, 20%)
CIE-LABlab(52.39, 17.69, -45.91)
CIE-LCHlch(52.39, 49.20, 291.07°)
OKLaboklab(59.62% 0.0096 -0.13)
OKLCHoklch(59.62% 0.13 274.2)
XYZxyz(23.2014, 20.4950, 59.8484)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877CC #CCBD68
analogous
#68A9CC #6877CC #8B68CC
triadic
#6877CC #CC6877 #77CC68
tetradic
#6877CC #CC68A9 #CCBD68 #68CC8B
square
#6877CC #CC68A9 #CCBD68 #68CC8B
split-complementary
#6877CC #CC8B68 #A9CC68
monochromatic
#2F3D8B #3E51B8 #6877CC #96A0DB #C3C9EB

Accessibility & contrast

On white

4.12
#6877CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6877CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877CC#FFFFFF#000000##000000
##6877CC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#408997
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6877cc;
/* rgb */ color: rgb(104, 119, 204);
/* oklch */ color: oklch(59.6% 0.130 274.2);
Tailwind
colors: {
  custom: {
    50: '#999edc',
    500: '#6877cc',
    950: '#000000',
  },
}
SCSS
$custom: #6877cc;
$custom-light: #999edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6877cc",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 231,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.13037,
    "h": 274.2
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6877CC

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

Preview Lab → · Contrast checker → · Palette generator →

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