#6877EE#6877EE

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

Color values

HEX#6877EE
RGBrgb(104, 119, 238)
HSLhsl(233, 80%, 67%)
HSVhsv(233, 56%, 93%)
CMYKcmyk(56.3%, 50%, 0%, 6.7%)
CIE-LABlab(54.35, 28.39, -61.93)
CIE-LCHlch(54.35, 68.13, 294.63°)
OKLaboklab(61.74% 0.0142 -0.177)
OKLCHoklch(61.74% 0.178 274.6)
XYZxyz(27.7334, 22.3077, 83.7167)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877EE #EEDF68
analogous
#68BAEE #6877EE #9C68EE
triadic
#6877EE #EE6877 #77EE68
tetradic
#6877EE #EE68BA #EEDF68 #68EE9C
square
#6877EE #EE68BA #EEDF68 #68EE9C
split-complementary
#6877EE #EE9C68 #BAEE68
monochromatic
#162AC5 #3145E8 #6877EE #9FA9F4 #D6DAFA

Accessibility & contrast

On white

3.84
#6877EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6877EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877EE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877EE#FFFFFF#000000##000000
##6877EE1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F2
Deuteranopia (green-blind)
#207DEB
Tritanopia (blue-blind)
#1492A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6877ee;
/* rgb */ color: rgb(104, 119, 238);
/* oklch */ color: oklch(61.7% 0.178 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef4',
    500: '#6877ee',
    950: '#000000',
  },
}
SCSS
$custom: #6877ee;
$custom-light: #9d9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#6877ee",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 233.284,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.17759,
    "h": 274.6
  },
  "luminance": 0.2231
}

Semantic roles & 50–950 ramp

primary
#6877EE
secondary
#EEE9C4
accent
#C409DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877EE

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

Preview Lab → · Contrast checker → · Palette generator →

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