#6877E8#6877E8

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

Color values

HEX#6877E8
RGBrgb(104, 119, 232)
HSLhsl(233, 74%, 66%)
HSVhsv(233, 55%, 91%)
CMYKcmyk(55.2%, 48.7%, 0%, 9%)
CIE-LABlab(53.99, 26.48, -59.17)
CIE-LCHlch(53.99, 64.82, 294.11°)
OKLaboklab(61.35% 0.0136 -0.1689)
OKLCHoklch(61.35% 0.169 274.6)
XYZxyz(26.8665, 21.9610, 79.1514)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877E8 #E8D968
analogous
#68B7E8 #6877E8 #9968E8
triadic
#6877E8 #E86877 #77E868
tetradic
#6877E8 #E868B7 #E8D968 #68E899
square
#6877E8 #E868B7 #E8D968 #68E899
split-complementary
#6877E8 #E89968 #B7E868
monochromatic
#1C2FB9 #3347E0 #6877E8 #9DA7F0 #D2D7F8

Accessibility & contrast

On white

3.89
#6877E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6877E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877E8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877E8#FFFFFF#000000##000000
##6877E81.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87EC
Deuteranopia (green-blind)
#2C7CE6
Tritanopia (blue-blind)
#2190A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6877e8;
/* rgb */ color: rgb(104, 119, 232);
/* oklch */ color: oklch(61.3% 0.169 274.6);
Tailwind
colors: {
  custom: {
    50: '#9c9ef0',
    500: '#6877e8',
    950: '#000000',
  },
}
SCSS
$custom: #6877e8;
$custom-light: #9c9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#6877e8",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 232.969,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.16945,
    "h": 274.6
  },
  "luminance": 0.21963
}

Semantic roles & 50–950 ramp

primary
#6877E8
secondary
#EBE6C1
accent
#BE10D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877E8

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

Preview Lab → · Contrast checker → · Palette generator →

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