#6887F1#6887F1

#6887F1 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.162 H 269.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6887F1
RGBrgb(104, 135, 241)
HSLhsl(226, 83%, 68%)
HSVhsv(226, 57%, 95%)
CMYKcmyk(56.8%, 44%, 0%, 5.5%)
CIE-LABlab(58.62, 19.72, -56.75)
CIE-LCHlch(58.62, 60.08, 289.16°)
OKLaboklab(65.04% -0.0021 -0.1616)
OKLCHoklch(65.04% 0.162 269.3)
XYZxyz(30.2448, 26.6195, 86.7463)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887F1 #F1D268
analogous
#68CCF1 #6887F1 #8D68F1
triadic
#6887F1 #F16887 #87F168
tetradic
#6887F1 #F168CC #F1D268 #68F18D
square
#6887F1 #F168CC #F1D268 #68F18D
split-complementary
#6887F1 #F18D68 #CCF168
monochromatic
#133DCC #305AEC #6887F1 #A0B4F6 #D8E0FB

Accessibility & contrast

On white

3.32
#6887F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#6887F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887F1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887F1#FFFFFF#000000##000000
##6887F11.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F5
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6887f1;
/* rgb */ color: rgb(104, 135, 241);
/* oklch */ color: oklch(65.0% 0.162 269.3);
Tailwind
colors: {
  custom: {
    50: '#9da9f6',
    500: '#6887f1',
    950: '#000000',
  },
}
SCSS
$custom: #6887f1;
$custom-light: #9da9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6887f1",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 226.423,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6504,
    "c": 0.16166,
    "h": 269.3
  },
  "luminance": 0.26622
}

Semantic roles & 50–950 ramp

primary
#6887F1
secondary
#F0E6C5
accent
#AE06DF
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887F1

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

Preview Lab → · Contrast checker → · Palette generator →

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