#6877F0#6877F0

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

Color values

HEX#6877F0
RGBrgb(104, 119, 240)
HSLhsl(233, 82%, 67%)
HSVhsv(233, 57%, 94%)
CMYKcmyk(56.7%, 50.4%, 0%, 5.9%)
CIE-LABlab(54.48, 29.03, -62.84)
CIE-LCHlch(54.48, 69.22, 294.80°)
OKLaboklab(61.87% 0.0143 -0.1797)
OKLCHoklch(61.87% 0.18 274.6)
XYZxyz(28.0288, 22.4259, 85.2728)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877F0 #F0E168
analogous
#68BBF0 #6877F0 #9D68F0
triadic
#6877F0 #F06877 #77F068
tetradic
#6877F0 #F068BB #F0E168 #68F09D
square
#6877F0 #F068BB #F0E168 #68F09D
split-complementary
#6877F0 #F09D68 #BBF068
monochromatic
#1428CA #3045EA #6877F0 #A0A9F6 #D7DBFB

Accessibility & contrast

On white

3.83
#6877F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6877F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877F0
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877F0#FFFFFF#000000##000000
##6877F01.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F4
Deuteranopia (green-blind)
#1B7DED
Tritanopia (blue-blind)
#0D92A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6877f0;
/* rgb */ color: rgb(104, 119, 240);
/* oklch */ color: oklch(61.9% 0.180 274.6);
Tailwind
colors: {
  custom: {
    50: '#9d9ef6',
    500: '#6877f0',
    950: '#000000',
  },
}
SCSS
$custom: #6877f0;
$custom-light: #9d9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#6877f0",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 240
  },
  "hsl": {
    "h": 233.382,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.18029,
    "h": 274.6
  },
  "luminance": 0.22428
}

Semantic roles & 50–950 ramp

primary
#6877F0
secondary
#EFEAC5
accent
#C707DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6877F0

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

Preview Lab → · Contrast checker → · Palette generator →

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