#6877ED#6877ED

#6877ED is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.7% C 0.176 H 274.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6877ED
RGBrgb(104, 119, 237)
HSLhsl(233, 79%, 67%)
HSVhsv(233, 56%, 93%)
CMYKcmyk(56.1%, 49.8%, 0%, 7.1%)
CIE-LABlab(54.29, 28.07, -61.47)
CIE-LCHlch(54.29, 67.58, 294.55°)
OKLaboklab(61.67% 0.0141 -0.1757)
OKLCHoklch(61.67% 0.176 274.6)
XYZxyz(27.5869, 22.2491, 82.9451)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877ED #EDDE68
analogous
#68BAED #6877ED #9C68ED
triadic
#6877ED #ED6877 #77ED68
tetradic
#6877ED #ED68BA #EDDE68 #68ED9C
square
#6877ED #ED68BA #EDDE68 #68ED9C
split-complementary
#6877ED #ED9C68 #BAED68
monochromatic
#172BC3 #3146E6 #6877ED #9FA8F4 #D5DAFA

Accessibility & contrast

On white

3.85
#6877ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6877ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877ED
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877ED#FFFFFF#000000##000000
##6877ED1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#237CEB
Tritanopia (blue-blind)
#1692A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6877ed;
/* rgb */ color: rgb(104, 119, 237);
/* oklch */ color: oklch(61.7% 0.176 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef3',
    500: '#6877ed',
    950: '#000000',
  },
}
SCSS
$custom: #6877ed;
$custom-light: #9d9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6877ed",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 233.233,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61673,
    "c": 0.17624,
    "h": 274.6
  },
  "luminance": 0.22251
}

Semantic roles & 50–950 ramp

primary
#6877ED
secondary
#EEE9C3
accent
#C30BDB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877ED

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

Preview Lab → · Contrast checker → · Palette generator →

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