#6877F4#6877F4

#6877F4 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.1% C 0.186 H 274.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6877F4
RGBrgb(104, 119, 244)
HSLhsl(234, 86%, 68%)
HSVhsv(234, 57%, 96%)
CMYKcmyk(57.4%, 51.2%, 0%, 4.3%)
CIE-LABlab(54.73, 30.31, -64.66)
CIE-LCHlch(54.73, 71.41, 295.12°)
OKLaboklab(62.14% 0.0146 -0.1851)
OKLCHoklch(62.14% 0.186 274.5)
XYZxyz(28.6296, 22.6662, 88.4368)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877F4 #F4E568
analogous
#68BDF4 #6877F4 #9F68F4
triadic
#6877F4 #F46877 #77F468
tetradic
#6877F4 #F468BD #F4E568 #68F49F
square
#6877F4 #F468BD #F4E568 #68F49F
split-complementary
#6877F4 #F49F68 #BDF468
monochromatic
#0F24D2 #2F44F0 #6877F4 #A1AAF8 #DADEFC

Accessibility & contrast

On white

3.79
#6877F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6877F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877F4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877F4#FFFFFF#000000##000000
##6877F41.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3089F8
Deuteranopia (green-blind)
#0B7DF1
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6877f4;
/* rgb */ color: rgb(104, 119, 244);
/* oklch */ color: oklch(62.1% 0.186 274.5);
Tailwind
colors: {
  custom: {
    50: '#9e9ef8',
    500: '#6877f4',
    950: '#000000',
  },
}
SCSS
$custom: #6877f4;
$custom-light: #9e9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#6877f4",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 244
  },
  "hsl": {
    "h": 233.571,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62142,
    "c": 0.18565,
    "h": 274.5
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#6877F4
secondary
#F1EDC7
accent
#CB03E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877F4

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

Preview Lab → · Contrast checker → · Palette generator →

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