#6987F6#6987F6

#6987F6 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.4% C 0.168 H 269.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6987F6
RGBrgb(105, 135, 246)
HSLhsl(227, 89%, 69%)
HSVhsv(227, 57%, 96%)
CMYKcmyk(57.3%, 45.1%, 0%, 3.5%)
CIE-LABlab(58.96, 21.52, -58.97)
CIE-LCHlch(58.96, 62.77, 290.05°)
OKLaboklab(65.4% -0.0003 -0.1681)
OKLCHoklch(65.4% 0.168 269.9)
XYZxyz(31.1187, 26.9826, 90.7392)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987F6 #F6D869
analogous
#69CEF6 #6987F6 #9269F6
triadic
#6987F6 #F66987 #87F669
tetradic
#6987F6 #F669CE #F6D869 #69F692
square
#6987F6 #F669CE #F6D869 #69F692
split-complementary
#6987F6 #F69269 #CEF669
monochromatic
#0D38D8 #2F59F3 #6987F6 #A3B5F9 #DCE3FD

Accessibility & contrast

On white

3.28
#6987F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#6987F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987F6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987F6#FFFFFF#000000##000000
##6987F61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494FA
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6987f6;
/* rgb */ color: rgb(105, 135, 246);
/* oklch */ color: oklch(65.4% 0.168 269.9);
Tailwind
colors: {
  custom: {
    50: '#9ea9fa',
    500: '#6987f6',
    950: '#000000',
  },
}
SCSS
$custom: #6987f6;
$custom-light: #9ea9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6987f6",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 227.234,
    "s": 88.679,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65404,
    "c": 0.16815,
    "h": 269.9
  },
  "luminance": 0.26985
}

Semantic roles & 50–950 ramp

primary
#6987F6
secondary
#F2E9C9
accent
#B500E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987F6

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

Preview Lab → · Contrast checker → · Palette generator →

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