#6887EE#6887EE

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

Color values

HEX#6887EE
RGBrgb(104, 135, 238)
HSLhsl(226, 80%, 67%)
HSVhsv(226, 56%, 93%)
CMYKcmyk(56.3%, 43.3%, 0%, 6.7%)
CIE-LABlab(58.45, 18.75, -55.36)
CIE-LCHlch(58.45, 58.45, 288.72°)
OKLaboklab(64.86% -0.0026 -0.1575)
OKLCHoklch(64.86% 0.158 269.1)
XYZxyz(29.8004, 26.4418, 84.4057)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887EE #EECF68
analogous
#68CAEE #6887EE #8C68EE
triadic
#6887EE #EE6887 #87EE68
tetradic
#6887EE #EE68CA #EECF68 #68EE8C
square
#6887EE #EE68CA #EECF68 #68EE8C
split-complementary
#6887EE #EE8C68 #CAEE68
monochromatic
#163FC5 #315BE8 #6887EE #9FB3F4 #D6DEFA

Accessibility & contrast

On white

3.34
#6887EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#6887EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887EE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887EE#FFFFFF#000000##000000
##6887EE1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#089EAF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6887ee;
/* rgb */ color: rgb(104, 135, 238);
/* oklch */ color: oklch(64.9% 0.158 269.1);
Tailwind
colors: {
  custom: {
    50: '#9da9f4',
    500: '#6887ee',
    950: '#000000',
  },
}
SCSS
$custom: #6887ee;
$custom-light: #9da9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6887ee",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 226.119,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64858,
    "c": 0.15757,
    "h": 269.1
  },
  "luminance": 0.26444
}

Semantic roles & 50–950 ramp

primary
#6887EE
secondary
#EEE4C4
accent
#AB09DC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887EE

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

Preview Lab → · Contrast checker → · Palette generator →

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