#6987FE#6987FE

#6987FE is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.9% C 0.179 H 270.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6987FE
RGBrgb(105, 135, 254)
HSLhsl(228, 99%, 70%)
HSVhsv(228, 59%, 100%)
CMYKcmyk(58.7%, 46.9%, 0%, 0.4%)
CIE-LABlab(59.42, 24.10, -62.64)
CIE-LCHlch(59.42, 67.11, 291.04°)
OKLaboklab(65.91% 0.0007 -0.1789)
OKLCHoklch(65.91% 0.179 270.2)
XYZxyz(32.3731, 27.4844, 97.3458)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987FE #FEE069
analogous
#69D2FE #6987FE #9569FE
triadic
#6987FE #FE6987 #87FE69
tetradic
#6987FE #FE69D2 #FEE069 #69FE95
square
#6987FE #FE69D2 #FEE069 #69FE95
split-complementary
#6987FE #FE9569 #D2FE69
monochromatic
#0231EB #2C56FE #6987FE #A6B8FE #E1E7FF

Accessibility & contrast

On white

3.23
#6987FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#6987FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987FE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987FE#FFFFFF#000000##000000
##6987FE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#3489FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6987fe;
/* rgb */ color: rgb(105, 135, 254);
/* oklch */ color: oklch(65.9% 0.179 270.2);
Tailwind
colors: {
  custom: {
    50: '#9fa9ff',
    500: '#6987fe',
    950: '#000000',
  },
}
SCSS
$custom: #6987fe;
$custom-light: #9fa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6987fe",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 227.919,
    "s": 98.675,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65905,
    "c": 0.17892,
    "h": 270.2
  },
  "luminance": 0.27487
}

Semantic roles & 50–950 ramp

primary
#6987FE
secondary
#F6EECD
accent
#B700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6987FE

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

Preview Lab → · Contrast checker → · Palette generator →

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