#6877EB#6877EB

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

Color values

HEX#6877EB
RGBrgb(104, 119, 235)
HSLhsl(233, 77%, 66%)
HSVhsv(233, 56%, 92%)
CMYKcmyk(55.7%, 49.4%, 0%, 7.8%)
CIE-LABlab(54.17, 27.43, -60.55)
CIE-LCHlch(54.17, 66.47, 294.38°)
OKLaboklab(61.54% 0.0139 -0.173)
OKLCHoklch(61.54% 0.174 274.6)
XYZxyz(27.2963, 22.1329, 81.4148)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877EB #EBDC68
analogous
#68B9EB #6877EB #9B68EB
triadic
#6877EB #EB6877 #77EB68
tetradic
#6877EB #EB68B9 #EBDC68 #68EB9B
square
#6877EB #EB68B9 #EBDC68 #68EB9B
split-complementary
#6877EB #EB9B68 #B9EB68
monochromatic
#192CBF #3246E4 #6877EB #9EA8F2 #D4D8F9

Accessibility & contrast

On white

3.87
#6877EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6877EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877EB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877EB#FFFFFF#000000##000000
##6877EB1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#1B91A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6877eb;
/* rgb */ color: rgb(104, 119, 235);
/* oklch */ color: oklch(61.5% 0.174 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef2',
    500: '#6877eb',
    950: '#000000',
  },
}
SCSS
$custom: #6877eb;
$custom-light: #9d9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6877eb",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 233.13,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61541,
    "c": 0.17354,
    "h": 274.6
  },
  "luminance": 0.22135
}

Semantic roles & 50–950 ramp

primary
#6877EB
secondary
#EDE8C2
accent
#C10DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877EB

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

Preview Lab → · Contrast checker → · Palette generator →

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