#6987F1#6987F1

#6987F1 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.161 H 269.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6987F1
RGBrgb(105, 135, 241)
HSLhsl(227, 83%, 68%)
HSVhsv(227, 56%, 95%)
CMYKcmyk(56.4%, 44%, 0%, 5.5%)
CIE-LABlab(58.68, 19.91, -56.66)
CIE-LCHlch(58.68, 60.06, 289.36°)
OKLaboklab(65.1% -0.0011 -0.1614)
OKLCHoklch(65.1% 0.161 269.6)
XYZxyz(30.3616, 26.6797, 86.7518)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987F1 #F1D369
analogous
#69CBF1 #6987F1 #8F69F1
triadic
#6987F1 #F16987 #87F169
tetradic
#6987F1 #F169CB #F1D369 #69F18F
square
#6987F1 #F169CB #F1D369 #69F18F
split-complementary
#6987F1 #F18F69 #CBF169
monochromatic
#133CCD #315AEC #6987F1 #A1B4F6 #D9E1FB

Accessibility & contrast

On white

3.31
#6987F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#6987F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987F1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987F1#FFFFFF#000000##000000
##6987F11.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F5
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#059EB0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6987f1;
/* rgb */ color: rgb(105, 135, 241);
/* oklch */ color: oklch(65.1% 0.161 269.6);
Tailwind
colors: {
  custom: {
    50: '#9da9f6',
    500: '#6987f1',
    950: '#000000',
  },
}
SCSS
$custom: #6987f1;
$custom-light: #9da9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6987f1",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 226.765,
    "s": 82.927,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65098,
    "c": 0.16136,
    "h": 269.6
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#6987F1
secondary
#F0E7C6
accent
#AF06DF
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987F1

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

Preview Lab → · Contrast checker → · Palette generator →

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