#6887F5#6887F5

#6887F5 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.167 H 269.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6887F5
RGBrgb(104, 135, 245)
HSLhsl(227, 88%, 68%)
HSVhsv(227, 58%, 96%)
CMYKcmyk(57.6%, 44.9%, 0%, 3.9%)
CIE-LABlab(58.85, 21.00, -58.60)
CIE-LCHlch(58.85, 62.25, 289.72°)
OKLaboklab(65.29% -0.0015 -0.1671)
OKLCHoklch(65.29% 0.167 269.5)
XYZxyz(30.8488, 26.8611, 89.9276)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887F5 #F5D668
analogous
#68CDF5 #6887F5 #8F68F5
triadic
#6887F5 #F56887 #87F568
tetradic
#6887F5 #F568CD #F5D668 #68F58F
square
#6887F5 #F568CD #F5D668 #68F58F
split-complementary
#6887F5 #F58F68 #CDF568
monochromatic
#0E3AD5 #2F59F1 #6887F5 #A1B5F9 #DBE2FD

Accessibility & contrast

On white

3.30
#6887F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#6887F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887F5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887F5#FFFFFF#000000##000000
##6887F51.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#4088F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6887f5;
/* rgb */ color: rgb(104, 135, 245);
/* oklch */ color: oklch(65.3% 0.167 269.5);
Tailwind
colors: {
  custom: {
    50: '#9da9f9',
    500: '#6887f5',
    950: '#000000',
  },
}
SCSS
$custom: #6887f5;
$custom-light: #9da9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6887f5",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 226.809,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65285,
    "c": 0.1671,
    "h": 269.5
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

primary
#6887F5
secondary
#F2E8C7
accent
#B201E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887F5

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

Preview Lab → · Contrast checker → · Palette generator →

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