#6887FE#6887FE

#6887FE is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.8% C 0.179 H 269.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6887FE
RGBrgb(104, 135, 254)
HSLhsl(228, 99%, 70%)
HSVhsv(228, 59%, 100%)
CMYKcmyk(59.1%, 46.9%, 0%, 0.4%)
CIE-LABlab(59.36, 23.91, -62.73)
CIE-LCHlch(59.36, 67.13, 290.87°)
OKLaboklab(65.85% -0.0002 -0.1792)
OKLCHoklch(65.85% 0.179 269.9)
XYZxyz(32.2563, 27.4241, 97.3403)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887FE #FEDF68
analogous
#68D2FE #6887FE #9468FE
triadic
#6887FE #FE6887 #87FE68
tetradic
#6887FE #FE68D2 #FEDF68 #68FE94
square
#6887FE #FE68D2 #FEDF68 #68FE94
split-complementary
#6887FE #FE9468 #D2FE68
monochromatic
#0232EA #2B57FE #6887FE #A5B7FE #E1E7FF

Accessibility & contrast

On white

3.24
#6887FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#6887FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887FE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887FE#FFFFFF#000000##000000
##6887FE1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#3389FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6887fe;
/* rgb */ color: rgb(104, 135, 254);
/* oklch */ color: oklch(65.8% 0.179 269.9);
Tailwind
colors: {
  custom: {
    50: '#9fa9ff',
    500: '#6887fe',
    950: '#000000',
  },
}
SCSS
$custom: #6887fe;
$custom-light: #9fa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6887fe",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 227.6,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.17921,
    "h": 269.9
  },
  "luminance": 0.27427
}

Semantic roles & 50–950 ramp

primary
#6887FE
secondary
#F6EDCC
accent
#B600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6887FE

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

Preview Lab → · Contrast checker → · Palette generator →

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