#6987F5#6987F5

#6987F5 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.167 H 269.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6987F5
RGBrgb(105, 135, 245)
HSLhsl(227, 88%, 69%)
HSVhsv(227, 57%, 96%)
CMYKcmyk(57.1%, 44.9%, 0%, 3.9%)
CIE-LABlab(58.90, 21.20, -58.51)
CIE-LCHlch(58.90, 62.23, 289.91°)
OKLaboklab(65.34% -0.0005 -0.1668)
OKLCHoklch(65.34% 0.167 269.8)
XYZxyz(30.9656, 26.9214, 89.9331)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987F5 #F5D769
analogous
#69CDF5 #6987F5 #9169F5
triadic
#6987F5 #F56987 #87F569
tetradic
#6987F5 #F569CD #F5D769 #69F591
square
#6987F5 #F569CD #F5D769 #69F591
split-complementary
#6987F5 #F59169 #CDF569
monochromatic
#0E39D5 #3059F1 #6987F5 #A2B5F9 #DCE3FD

Accessibility & contrast

On white

3.29
#6987F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#6987F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987F5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987F5#FFFFFF#000000##000000
##6987F51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#4188F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6987f5;
/* rgb */ color: rgb(105, 135, 245);
/* oklch */ color: oklch(65.3% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#9ea9f9',
    500: '#6987f5',
    950: '#000000',
  },
}
SCSS
$custom: #6987f5;
$custom-light: #9ea9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6987f5",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 227.143,
    "s": 87.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65342,
    "c": 0.1668,
    "h": 269.8
  },
  "luminance": 0.26924
}

Semantic roles & 50–950 ramp

primary
#6987F5
secondary
#F2E9C8
accent
#B401E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987F5

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

Preview Lab → · Contrast checker → · Palette generator →

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