#6887EF#6887EF

#6887EF is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.159 H 269.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6887EF
RGBrgb(104, 135, 239)
HSLhsl(226, 81%, 67%)
HSVhsv(226, 56%, 94%)
CMYKcmyk(56.5%, 43.5%, 0%, 6.3%)
CIE-LABlab(58.51, 19.07, -55.82)
CIE-LCHlch(58.51, 58.99, 288.86°)
OKLaboklab(64.92% -0.0024 -0.1589)
OKLCHoklch(64.92% 0.159 269.1)
XYZxyz(29.9477, 26.5007, 85.1816)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887EF #EFD068
analogous
#68CBEF #6887EF #8C68EF
triadic
#6887EF #EF6887 #87EF68
tetradic
#6887EF #EF68CB #EFD068 #68EF8C
square
#6887EF #EF68CB #EFD068 #68EF8C
split-complementary
#6887EF #EF8C68 #CBEF68
monochromatic
#153EC7 #315BE9 #6887EF #9FB3F5 #D7DFFB

Accessibility & contrast

On white

3.33
#6887EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#6887EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887EF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887EF#FFFFFF#000000##000000
##6887EF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#4787ED
Tritanopia (blue-blind)
#039EAF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6887ef;
/* rgb */ color: rgb(104, 135, 239);
/* oklch */ color: oklch(64.9% 0.159 269.1);
Tailwind
colors: {
  custom: {
    50: '#9da9f5',
    500: '#6887ef',
    950: '#000000',
  },
}
SCSS
$custom: #6887ef;
$custom-light: #9da9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6887ef",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 226.222,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64919,
    "c": 0.15894,
    "h": 269.1
  },
  "luminance": 0.26503
}

Semantic roles & 50–950 ramp

primary
#6887EF
secondary
#EFE5C4
accent
#AC08DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887EF

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

Preview Lab → · Contrast checker → · Palette generator →

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