#6877FB#6877FB

#6877FB is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.6% C 0.195 H 274.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6877FB
RGBrgb(104, 119, 251)
HSLhsl(234, 95%, 70%)
HSVhsv(234, 59%, 98%)
CMYKcmyk(58.6%, 52.6%, 0%, 1.6%)
CIE-LABlab(55.17, 32.55, -67.82)
CIE-LCHlch(55.17, 75.23, 295.64°)
OKLaboklab(62.62% 0.0151 -0.1944)
OKLCHoklch(62.62% 0.195 274.4)
XYZxyz(29.7126, 23.0995, 94.1410)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877FB #FBEC68
analogous
#68C0FB #6877FB #A368FB
triadic
#6877FB #FB6877 #77FB68
tetradic
#6877FB #FB68C0 #FBEC68 #68FBA3
square
#6877FB #FB68C0 #FBEC68 #68FBA3
split-complementary
#6877FB #FBA368 #C0FB68
monochromatic
#061DE3 #2C41F9 #6877FB #A4ADFD #DFE2FE

Accessibility & contrast

On white

3.74
#6877FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#6877FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877FB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877FB#FFFFFF#000000##000000
##6877FB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#0096AE
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6877fb;
/* rgb */ color: rgb(104, 119, 251);
/* oklch */ color: oklch(62.6% 0.195 274.4);
Tailwind
colors: {
  custom: {
    50: '#9f9efd',
    500: '#6877fb',
    950: '#000000',
  },
}
SCSS
$custom: #6877fb;
$custom-light: #9f9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#6877fb",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 233.878,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.19494,
    "h": 274.4
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#6877FB
secondary
#F4F0CA
accent
#CE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6877FB

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

Preview Lab → · Contrast checker → · Palette generator →

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