#6887F9#6887F9

#6887F9 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.5% C 0.172 H 269.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6887F9
RGBrgb(104, 135, 249)
HSLhsl(227, 92%, 69%)
HSVhsv(227, 58%, 98%)
CMYKcmyk(58.2%, 45.8%, 0%, 2.4%)
CIE-LABlab(59.07, 22.29, -60.44)
CIE-LCHlch(59.07, 64.42, 290.25°)
OKLaboklab(65.53% -0.0009 -0.1725)
OKLCHoklch(65.53% 0.172 269.7)
XYZxyz(31.4661, 27.1080, 93.1784)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887F9 #F9DA68
analogous
#68D0F9 #6887F9 #9268F9
triadic
#6887F9 #F96887 #87F968
tetradic
#6887F9 #F968D0 #F9DA68 #68F992
square
#6887F9 #F968D0 #F9DA68 #68F992
split-complementary
#6887F9 #F99268 #D0F968
monochromatic
#0936DE #2D58F7 #6887F9 #A3B6FB #DEE5FE

Accessibility & contrast

On white

3.27
#6887F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#6887F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887F9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887F9#FFFFFF#000000##000000
##6887F91.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#3B88F7
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6887f9;
/* rgb */ color: rgb(104, 135, 249);
/* oklch */ color: oklch(65.5% 0.172 269.7);
Tailwind
colors: {
  custom: {
    50: '#9ea9fc',
    500: '#6887f9',
    950: '#000000',
  },
}
SCSS
$custom: #6887f9;
$custom-light: #9ea9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6887f9",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 227.172,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65533,
    "c": 0.17249,
    "h": 269.7
  },
  "luminance": 0.27111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6887F9

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

Preview Lab → · Contrast checker → · Palette generator →

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