#6877E2#6877E2

#6877E2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.161 H 274.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6877E2
RGBrgb(104, 119, 226)
HSLhsl(233, 68%, 65%)
HSVhsv(233, 54%, 89%)
CMYKcmyk(54%, 47.3%, 0%, 11.4%)
CIE-LABlab(53.63, 24.57, -56.38)
CIE-LCHlch(53.63, 61.50, 293.55°)
OKLaboklab(60.96% 0.0129 -0.1607)
OKLCHoklch(60.96% 0.161 274.6)
XYZxyz(26.0288, 21.6259, 74.7394)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877E2 #E2D368
analogous
#68B4E2 #6877E2 #9668E2
triadic
#6877E2 #E26877 #77E268
tetradic
#6877E2 #E268B4 #E2D368 #68E296
square
#6877E2 #E268B4 #E2D368 #68E296
split-complementary
#6877E2 #E29668 #B4E268
monochromatic
#2133AE #3549D8 #6877E2 #9BA5EC #CFD3F6

Accessibility & contrast

On white

3.94
#6877E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6877E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877E2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877E2#FFFFFF#000000##000000
##6877E21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E6
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#2B8FA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6877e2;
/* rgb */ color: rgb(104, 119, 226);
/* oklch */ color: oklch(61.0% 0.161 274.6);
Tailwind
colors: {
  custom: {
    50: '#9b9eec',
    500: '#6877e2',
    950: '#000000',
  },
}
SCSS
$custom: #6877e2;
$custom-light: #9b9eec;
$custom-dark: #000000;
JSON
{
  "hex": "#6877e2",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 232.623,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.16123,
    "h": 274.6
  },
  "luminance": 0.21628
}

Semantic roles & 50–950 ramp

primary
#6877E2
secondary
#E8E3BE
accent
#B916D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6877E2

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

Preview Lab → · Contrast checker → · Palette generator →

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