#6877F1#6877F1

#6877F1 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.182 H 274.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6877F1
RGBrgb(104, 119, 241)
HSLhsl(233, 83%, 68%)
HSVhsv(233, 57%, 95%)
CMYKcmyk(56.8%, 50.6%, 0%, 5.5%)
CIE-LABlab(54.54, 29.35, -63.30)
CIE-LCHlch(54.54, 69.77, 294.88°)
OKLaboklab(61.94% 0.0144 -0.1811)
OKLCHoklch(61.94% 0.182 274.5)
XYZxyz(28.1778, 22.4855, 86.0573)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877F1 #F1E268
analogous
#68BBF1 #6877F1 #9E68F1
triadic
#6877F1 #F16877 #77F168
tetradic
#6877F1 #F168BB #F1E268 #68F19E
square
#6877F1 #F168BB #F1E268 #68F19E
split-complementary
#6877F1 #F19E68 #BBF168
monochromatic
#1327CC #3045EC #6877F1 #A0A9F6 #D8DCFB

Accessibility & contrast

On white

3.82
#6877F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6877F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877F1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877F1#FFFFFF#000000##000000
##6877F11.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F5
Deuteranopia (green-blind)
#187DEE
Tritanopia (blue-blind)
#0893A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6877f1;
/* rgb */ color: rgb(104, 119, 241);
/* oklch */ color: oklch(61.9% 0.182 274.5);
Tailwind
colors: {
  custom: {
    50: '#9e9ef6',
    500: '#6877f1',
    950: '#000000',
  },
}
SCSS
$custom: #6877f1;
$custom-light: #9e9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#6877f1",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 241
  },
  "hsl": {
    "h": 233.431,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.18163,
    "h": 274.5
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

primary
#6877F1
secondary
#F0EBC5
accent
#C806DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877F1

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

Preview Lab → · Contrast checker → · Palette generator →

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