#6877EF#6877EF

#6877EF is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.8% C 0.179 H 274.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6877EF
RGBrgb(104, 119, 239)
HSLhsl(233, 81%, 67%)
HSVhsv(233, 56%, 94%)
CMYKcmyk(56.5%, 50.2%, 0%, 6.3%)
CIE-LABlab(54.41, 28.71, -62.38)
CIE-LCHlch(54.41, 68.67, 294.71°)
OKLaboklab(61.81% 0.0142 -0.1784)
OKLCHoklch(61.81% 0.179 274.6)
XYZxyz(27.8807, 22.3667, 84.4926)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877EF #EFE068
analogous
#68BBEF #6877EF #9C68EF
triadic
#6877EF #EF6877 #77EF68
tetradic
#6877EF #EF68BB #EFE068 #68EF9C
square
#6877EF #EF68BB #EFE068 #68EF9C
split-complementary
#6877EF #EF9C68 #BBEF68
monochromatic
#1529C7 #3145E9 #6877EF #9FA9F5 #D7DBFB

Accessibility & contrast

On white

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

On black

5.47
#6877EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877EF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877EF#FFFFFF#000000##000000
##6877EF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#1E7DEC
Tritanopia (blue-blind)
#1092A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6877ef;
/* rgb */ color: rgb(104, 119, 239);
/* oklch */ color: oklch(61.8% 0.179 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef5',
    500: '#6877ef',
    950: '#000000',
  },
}
SCSS
$custom: #6877ef;
$custom-light: #9d9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6877ef",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 233.333,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61806,
    "c": 0.17894,
    "h": 274.6
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#6877EF
secondary
#EFEAC4
accent
#C608DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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