#6887F7#6887F7

#6887F7 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.4% C 0.170 H 269.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6887F7
RGBrgb(104, 135, 247)
HSLhsl(227, 90%, 69%)
HSVhsv(227, 58%, 97%)
CMYKcmyk(57.9%, 45.3%, 0%, 3.1%)
CIE-LABlab(58.96, 21.65, -59.52)
CIE-LCHlch(58.96, 63.34, 289.99°)
OKLaboklab(65.41% -0.0012 -0.1698)
OKLCHoklch(65.41% 0.17 269.6)
XYZxyz(31.1558, 26.9839, 91.5443)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887F7 #F7D868
analogous
#68CFF7 #6887F7 #9168F7
triadic
#6887F7 #F76887 #87F768
tetradic
#6887F7 #F768CF #F7D868 #68F791
square
#6887F7 #F768CF #F7D868 #68F791
split-complementary
#6887F7 #F79168 #CFF768
monochromatic
#0C38D9 #2E59F4 #6887F7 #A2B5FA #DCE3FD

Accessibility & contrast

On white

3.28
#6887F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#6887F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887F7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887F7#FFFFFF#000000##000000
##6887F71.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#3D88F5
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6887f7;
/* rgb */ color: rgb(104, 135, 247);
/* oklch */ color: oklch(65.4% 0.170 269.6);
Tailwind
colors: {
  custom: {
    50: '#9ea9fa',
    500: '#6887f7',
    950: '#000000',
  },
}
SCSS
$custom: #6887f7;
$custom-light: #9ea9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6887f7",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 226.993,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65408,
    "c": 0.16979,
    "h": 269.6
  },
  "luminance": 0.26986
}

Semantic roles & 50–950 ramp

primary
#6887F7
secondary
#F3E9C8
accent
#B400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887F7

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

Preview Lab → · Contrast checker → · Palette generator →

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