#6877F5#6877F5

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

Color values

HEX#6877F5
RGBrgb(104, 119, 245)
HSLhsl(234, 88%, 68%)
HSVhsv(234, 58%, 96%)
CMYKcmyk(57.6%, 51.4%, 0%, 3.9%)
CIE-LABlab(54.79, 30.63, -65.11)
CIE-LCHlch(54.79, 71.96, 295.19°)
OKLaboklab(62.21% 0.0147 -0.1864)
OKLCHoklch(62.21% 0.187 274.5)
XYZxyz(28.7818, 22.7271, 89.2386)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877F5 #F5E668
analogous
#68BDF5 #6877F5 #9F68F5
triadic
#6877F5 #F56877 #77F568
tetradic
#6877F5 #F568BD #F5E668 #68F59F
square
#6877F5 #F568BD #F5E668 #68F59F
split-complementary
#6877F5 #F59F68 #BDF568
monochromatic
#0E23D5 #2F43F1 #6877F5 #A1ABF9 #DBDEFD

Accessibility & contrast

On white

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

On black

5.55
#6877F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877F5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877F5#FFFFFF#000000##000000
##6877F51.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89F9
Deuteranopia (green-blind)
#057DF2
Tritanopia (blue-blind)
#0094AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6877f5;
/* rgb */ color: rgb(104, 119, 245);
/* oklch */ color: oklch(62.2% 0.187 274.5);
Tailwind
colors: {
  custom: {
    50: '#9e9ef9',
    500: '#6877f5',
    950: '#000000',
  },
}
SCSS
$custom: #6877f5;
$custom-light: #9e9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#6877f5",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 245
  },
  "hsl": {
    "h": 233.617,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62209,
    "c": 0.18698,
    "h": 274.5
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#6877F5
secondary
#F2EDC7
accent
#CC01E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877F5

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

Preview Lab → · Contrast checker → · Palette generator →

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