#6877EA#6877EA

#6877EA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.5% C 0.172 H 274.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6877EA
RGBrgb(104, 119, 234)
HSLhsl(233, 76%, 66%)
HSVhsv(233, 56%, 92%)
CMYKcmyk(55.6%, 49.1%, 0%, 8.2%)
CIE-LABlab(54.11, 27.12, -60.09)
CIE-LCHlch(54.11, 65.92, 294.29°)
OKLaboklab(61.48% 0.0138 -0.1716)
OKLCHoklch(61.48% 0.172 274.6)
XYZxyz(27.1522, 22.0753, 80.6561)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877EA #EADB68
analogous
#68B8EA #6877EA #9A68EA
triadic
#6877EA #EA6877 #77EA68
tetradic
#6877EA #EA68B8 #EADB68 #68EA9A
square
#6877EA #EA68B8 #EADB68 #68EA9A
split-complementary
#6877EA #EA9A68 #B8EA68
monochromatic
#1A2DBD #3247E3 #6877EA #9EA7F1 #D3D8F9

Accessibility & contrast

On white

3.88
#6877EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#6877EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877EA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877EA#FFFFFF#000000##000000
##6877EA1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#297CE8
Tritanopia (blue-blind)
#1D91A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6877ea;
/* rgb */ color: rgb(104, 119, 234);
/* oklch */ color: oklch(61.5% 0.172 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef1',
    500: '#6877ea',
    950: '#000000',
  },
}
SCSS
$custom: #6877ea;
$custom-light: #9d9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6877ea",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 233.077,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.17217,
    "h": 274.6
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#6877EA
secondary
#ECE7C2
accent
#C00ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877EA

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

Preview Lab → · Contrast checker → · Palette generator →

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