#6877CA#6877CA

#6877CA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.5% C 0.128 H 274.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6877CA
RGBrgb(104, 119, 202)
HSLhsl(231, 48%, 60%)
HSVhsv(231, 49%, 79%)
CMYKcmyk(48.5%, 41.1%, 0%, 20.8%)
CIE-LABlab(52.29, 17.07, -44.94)
CIE-LCHlch(52.29, 48.08, 290.80°)
OKLaboklab(59.5% 0.0092 -0.1272)
OKLCHoklch(59.5% 0.128 274.2)
XYZxyz(22.9631, 20.3996, 58.5932)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877CA #CABB68
analogous
#68A8CA #6877CA #8A68CA
triadic
#6877CA #CA6877 #77CA68
tetradic
#6877CA #CA68A8 #CABB68 #68CA8A
square
#6877CA #CA68A8 #CABB68 #68CA8A
split-complementary
#6877CA #CA8A68 #A8CA68
monochromatic
#303D88 #4052B5 #6877CA #95A0DA #C3C9EA

Accessibility & contrast

On white

4.13
#6877CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6877CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877CA#FFFFFF#000000##000000
##6877CA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#428897
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6877ca;
/* rgb */ color: rgb(104, 119, 202);
/* oklch */ color: oklch(59.5% 0.128 274.2);
Tailwind
colors: {
  custom: {
    50: '#989eda',
    500: '#6877ca',
    950: '#000000',
  },
}
SCSS
$custom: #6877ca;
$custom-light: #989eda;
$custom-dark: #000000;
JSON
{
  "hex": "#6877ca",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 230.816,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.12752,
    "h": 274.2
  },
  "luminance": 0.20401
}

Semantic roles & 50–950 ramp

primary
#6877CA
secondary
#DAD4B4
accent
#C350D8
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6877CA

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

Preview Lab → · Contrast checker → · Palette generator →

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