#6887FA#6887FA

#6887FA is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.6% C 0.174 H 269.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6887FA
RGBrgb(104, 135, 250)
HSLhsl(227, 94%, 69%)
HSVhsv(227, 58%, 98%)
CMYKcmyk(58.4%, 46%, 0%, 2%)
CIE-LABlab(59.13, 22.62, -60.90)
CIE-LCHlch(59.13, 64.97, 290.37°)
OKLaboklab(65.6% -0.0008 -0.1738)
OKLCHoklch(65.6% 0.174 269.7)
XYZxyz(31.6224, 27.1706, 94.0020)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887FA #FADB68
analogous
#68D0FA #6887FA #9268FA
triadic
#6887FA #FA6887 #87FA68
tetradic
#6887FA #FA68D0 #FADB68 #68FA92
square
#6887FA #FA68D0 #FADB68 #68FA92
split-complementary
#6887FA #FA9268 #D0FA68
monochromatic
#0735E0 #2D58F8 #6887FA #A3B6FC #DEE5FE

Accessibility & contrast

On white

3.26
#6887FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#6887FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887FA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887FA#FFFFFF#000000##000000
##6887FA1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#3988F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6887fa;
/* rgb */ color: rgb(104, 135, 250);
/* oklch */ color: oklch(65.6% 0.174 269.7);
Tailwind
colors: {
  custom: {
    50: '#9ea9fc',
    500: '#6887fa',
    950: '#000000',
  },
}
SCSS
$custom: #6887fa;
$custom-light: #9ea9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6887fa",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 227.26,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65596,
    "c": 0.17384,
    "h": 269.7
  },
  "luminance": 0.27173
}

Semantic roles & 50–950 ramp

primary
#6887FA
secondary
#F4EBCA
accent
#B500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #6887FA

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

Preview Lab → · Contrast checker → · Palette generator →

#6887FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva