#6877E7#6877E7

#6877E7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.3% C 0.168 H 274.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6877E7
RGBrgb(104, 119, 231)
HSLhsl(233, 73%, 66%)
HSVhsv(233, 55%, 91%)
CMYKcmyk(55%, 48.5%, 0%, 9.4%)
CIE-LABlab(53.93, 26.16, -58.70)
CIE-LCHlch(53.93, 64.27, 294.02°)
OKLaboklab(61.28% 0.0135 -0.1675)
OKLCHoklch(61.28% 0.168 274.6)
XYZxyz(26.7249, 21.9044, 78.4055)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877E7 #E7D868
analogous
#68B7E7 #6877E7 #9868E7
triadic
#6877E7 #E76877 #77E768
tetradic
#6877E7 #E768B7 #E7D868 #68E798
square
#6877E7 #E768B7 #E7D868 #68E798
split-complementary
#6877E7 #E79868 #B7E768
monochromatic
#1D2FB7 #3347DF #6877E7 #9DA7EF #D2D6F8

Accessibility & contrast

On white

3.90
#6877E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#6877E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877E7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877E7#FFFFFF#000000##000000
##6877E71.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086EB
Deuteranopia (green-blind)
#2E7CE5
Tritanopia (blue-blind)
#2390A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6877e7;
/* rgb */ color: rgb(104, 119, 231);
/* oklch */ color: oklch(61.3% 0.168 274.6);
Tailwind
colors: {
  custom: {
    50: '#9c9eef',
    500: '#6877e7',
    950: '#000000',
  },
}
SCSS
$custom: #6877e7;
$custom-light: #9c9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#6877e7",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 232.913,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.16809,
    "h": 274.6
  },
  "luminance": 0.21906
}

Semantic roles & 50–950 ramp

primary
#6877E7
secondary
#EBE6C0
accent
#BE11D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6877E7

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

Preview Lab → · Contrast checker → · Palette generator →

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