#6987F2#6987F2

#6987F2 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.2% C 0.163 H 269.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6987F2
RGBrgb(105, 135, 242)
HSLhsl(227, 84%, 68%)
HSVhsv(227, 57%, 95%)
CMYKcmyk(56.6%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.73, 20.23, -57.12)
CIE-LCHlch(58.73, 60.60, 289.50°)
OKLaboklab(65.16% -0.0009 -0.1627)
OKLCHoklch(65.16% 0.163 269.7)
XYZxyz(30.5114, 26.7397, 87.5406)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987F2 #F2D469
analogous
#69CCF2 #6987F2 #8F69F2
triadic
#6987F2 #F26987 #87F269
tetradic
#6987F2 #F269CC #F2D469 #69F28F
square
#6987F2 #F269CC #F2D469 #69F28F
split-complementary
#6987F2 #F28F69 #CCF269
monochromatic
#123BCF #315AED #6987F2 #A1B4F7 #DAE1FC

Accessibility & contrast

On white

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

On black

6.35
#6987F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987F2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987F2#FFFFFF#000000##000000
##6987F21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#4488F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6987f2;
/* rgb */ color: rgb(105, 135, 242);
/* oklch */ color: oklch(65.2% 0.163 269.7);
Tailwind
colors: {
  custom: {
    50: '#9ea9f7',
    500: '#6987f2',
    950: '#000000',
  },
}
SCSS
$custom: #6987f2;
$custom-light: #9ea9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6987f2",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 226.861,
    "s": 84.049,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65158,
    "c": 0.16272,
    "h": 269.7
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

primary
#6987F2
secondary
#F0E7C6
accent
#B005E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987F2

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

Preview Lab → · Contrast checker → · Palette generator →

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