#6877F8#6877F8

#6877F8 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.4% C 0.191 H 274.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6877F8
RGBrgb(104, 119, 248)
HSLhsl(234, 91%, 69%)
HSVhsv(234, 58%, 97%)
CMYKcmyk(58.1%, 52%, 0%, 2.7%)
CIE-LABlab(54.98, 31.59, -66.47)
CIE-LCHlch(54.98, 73.60, 295.42°)
OKLaboklab(62.41% 0.0149 -0.1904)
OKLCHoklch(62.41% 0.191 274.5)
XYZxyz(29.2435, 22.9118, 91.6701)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877F8 #F8E968
analogous
#68BFF8 #6877F8 #A168F8
triadic
#6877F8 #F86877 #77F868
tetradic
#6877F8 #F868BF #F8E968 #68F8A1
square
#6877F8 #F868BF #F8E968 #68F8A1
split-complementary
#6877F8 #F8A168 #BFF868
monochromatic
#0A20DB #2E42F5 #6877F8 #A2ACFB #DDE0FD

Accessibility & contrast

On white

3.76
#6877F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#6877F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877F8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877F8#FFFFFF#000000##000000
##6877F81.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#0095AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6877f8;
/* rgb */ color: rgb(104, 119, 248);
/* oklch */ color: oklch(62.4% 0.191 274.5);
Tailwind
colors: {
  custom: {
    50: '#9f9efb',
    500: '#6877f8',
    950: '#000000',
  },
}
SCSS
$custom: #6877f8;
$custom-light: #9f9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#6877f8",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 233.75,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.19097,
    "h": 274.5
  },
  "luminance": 0.22914
}

Semantic roles & 50–950 ramp

primary
#6877F8
secondary
#F3EFC9
accent
#CE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6877F8

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

Preview Lab → · Contrast checker → · Palette generator →

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