#6887EC#6887EC

#6887EC is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.7% C 0.155 H 268.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6887EC
RGBrgb(104, 135, 236)
HSLhsl(226, 78%, 67%)
HSVhsv(226, 56%, 93%)
CMYKcmyk(55.9%, 42.8%, 0%, 7.5%)
CIE-LABlab(58.34, 18.11, -54.42)
CIE-LCHlch(58.34, 57.36, 288.41°)
OKLaboklab(64.74% -0.0029 -0.1548)
OKLCHoklch(64.74% 0.155 268.9)
XYZxyz(29.5082, 26.3249, 82.8669)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887EC #ECCD68
analogous
#68C9EC #6887EC #8B68EC
triadic
#6887EC #EC6887 #87EC68
tetradic
#6887EC #EC68C9 #ECCD68 #68EC8B
square
#6887EC #EC68C9 #ECCD68 #68EC8B
split-complementary
#6887EC #EC8B68 #C9EC68
monochromatic
#1840C1 #325CE5 #6887EC #9EB2F3 #D5DDFA

Accessibility & contrast

On white

3.35
#6887EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#6887EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887EC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887EC#FFFFFF#000000##000000
##6887EC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92F0
Deuteranopia (green-blind)
#4A87EA
Tritanopia (blue-blind)
#109DAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6887ec;
/* rgb */ color: rgb(104, 135, 236);
/* oklch */ color: oklch(64.7% 0.155 268.9);
Tailwind
colors: {
  custom: {
    50: '#9ca9f3',
    500: '#6887ec',
    950: '#000000',
  },
}
SCSS
$custom: #6887ec;
$custom-light: #9ca9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6887ec",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 225.909,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64739,
    "c": 0.15484,
    "h": 268.9
  },
  "luminance": 0.26327
}

Semantic roles & 50–950 ramp

primary
#6887EC
secondary
#EDE3C3
accent
#A90CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887EC

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

Preview Lab → · Contrast checker → · Palette generator →

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