#6887EA#6887EA

#6887EA is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.152 H 268.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6887EA
RGBrgb(104, 135, 234)
HSLhsl(226, 76%, 66%)
HSVhsv(226, 56%, 92%)
CMYKcmyk(55.6%, 42.3%, 0%, 8.2%)
CIE-LABlab(58.24, 17.47, -53.48)
CIE-LCHlch(58.24, 56.27, 288.09°)
OKLaboklab(64.62% -0.0032 -0.1521)
OKLCHoklch(64.62% 0.152 268.8)
XYZxyz(29.2192, 26.2093, 81.3451)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887EA #EACB68
analogous
#68C8EA #6887EA #8A68EA
triadic
#6887EA #EA6887 #87EA68
tetradic
#6887EA #EA68C8 #EACB68 #68EA8A
square
#6887EA #EA68C8 #EACB68 #68EA8A
split-complementary
#6887EA #EA8A68 #C8EA68
monochromatic
#1A41BD #325CE3 #6887EA #9EB2F1 #D3DCF9

Accessibility & contrast

On white

3.36
#6887EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#6887EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887EA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887EA#FFFFFF#000000##000000
##6887EA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#169DAD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6887ea;
/* rgb */ color: rgb(104, 135, 234);
/* oklch */ color: oklch(64.6% 0.152 268.8);
Tailwind
colors: {
  custom: {
    50: '#9ca9f1',
    500: '#6887ea',
    950: '#000000',
  },
}
SCSS
$custom: #6887ea;
$custom-light: #9ca9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6887ea",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 225.692,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.1521,
    "h": 268.8
  },
  "luminance": 0.26212
}

Semantic roles & 50–950 ramp

primary
#6887EA
secondary
#ECE2C2
accent
#A80ED8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887EA

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

Preview Lab → · Contrast checker → · Palette generator →

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