#6987EF#6987EF

#6987EF is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.159 H 269.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6987EF
RGBrgb(105, 135, 239)
HSLhsl(227, 81%, 67%)
HSVhsv(227, 56%, 94%)
CMYKcmyk(56.1%, 43.5%, 0%, 6.3%)
CIE-LABlab(58.57, 19.27, -55.73)
CIE-LCHlch(58.57, 58.97, 289.08°)
OKLaboklab(64.98% -0.0014 -0.1586)
OKLCHoklch(64.98% 0.159 269.5)
XYZxyz(30.0645, 26.5609, 85.1871)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987EF #EFD169
analogous
#69CAEF #6987EF #8E69EF
triadic
#6987EF #EF6987 #87EF69
tetradic
#6987EF #EF69CA #EFD169 #69EF8E
square
#6987EF #EF69CA #EFD169 #69EF8E
split-complementary
#6987EF #EF8E69 #CAEF69
monochromatic
#153DC8 #325BE9 #6987EF #A0B3F5 #D8DFFB

Accessibility & contrast

On white

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

On black

6.31
#6987EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987EF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987EF#FFFFFF#000000##000000
##6987EF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6987ef;
/* rgb */ color: rgb(105, 135, 239);
/* oklch */ color: oklch(65.0% 0.159 269.5);
Tailwind
colors: {
  custom: {
    50: '#9da9f5',
    500: '#6987ef',
    950: '#000000',
  },
}
SCSS
$custom: #6987ef;
$custom-light: #9da9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6987ef",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 226.567,
    "s": 80.723,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64977,
    "c": 0.15864,
    "h": 269.5
  },
  "luminance": 0.26563
}

Semantic roles & 50–950 ramp

primary
#6987EF
secondary
#EFE5C5
accent
#AD08DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987EF

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

Preview Lab → · Contrast checker → · Palette generator →

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