#6987E6#6987E6

#6987E6 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.4% C 0.146 H 268.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6987E6
RGBrgb(105, 135, 230)
HSLhsl(226, 71%, 66%)
HSVhsv(226, 54%, 90%)
CMYKcmyk(54.3%, 41.3%, 0%, 9.8%)
CIE-LABlab(58.08, 16.41, -51.51)
CIE-LCHlch(58.08, 54.06, 287.67°)
OKLaboklab(64.44% -0.003 -0.1462)
OKLCHoklch(64.44% 0.146 268.8)
XYZxyz(28.7679, 26.0423, 78.3583)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987E6 #E6C869
analogous
#69C5E6 #6987E6 #8969E6
triadic
#6987E6 #E66987 #87E669
tetradic
#6987E6 #E669C5 #E6C869 #69E689
square
#6987E6 #E669C5 #E6C869 #69E689
split-complementary
#6987E6 #E68969 #C5E669
monochromatic
#1E43B6 #355DDD #6987E6 #9DB1EF #D2DBF7

Accessibility & contrast

On white

3.38
#6987E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#6987E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987E6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987E6#FFFFFF#000000##000000
##6987E61.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91EA
Deuteranopia (green-blind)
#5086E4
Tritanopia (blue-blind)
#249CAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6987e6;
/* rgb */ color: rgb(105, 135, 230);
/* oklch */ color: oklch(64.4% 0.146 268.8);
Tailwind
colors: {
  custom: {
    50: '#9ca9ee',
    500: '#6987e6',
    950: '#000000',
  },
}
SCSS
$custom: #6987e6;
$custom-light: #9ca9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6987e6",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 230
  },
  "hsl": {
    "h": 225.6,
    "s": 71.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64444,
    "c": 0.14628,
    "h": 268.8
  },
  "luminance": 0.26044
}

Semantic roles & 50–950 ramp

primary
#6987E6
secondary
#EAE0C1
accent
#A512D3
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6987E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6987E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva