#6987E2#6987E2

#6987E2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.141 H 268.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6987E2
RGBrgb(105, 135, 226)
HSLhsl(225, 68%, 65%)
HSVhsv(225, 54%, 89%)
CMYKcmyk(53.5%, 40.3%, 0%, 11.4%)
CIE-LABlab(57.87, 15.14, -49.61)
CIE-LCHlch(57.87, 51.87, 286.97°)
OKLaboklab(64.21% -0.0037 -0.1407)
OKLCHoklch(64.21% 0.141 268.5)
XYZxyz(28.2126, 25.8202, 75.4339)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987E2 #E2C469
analogous
#69C4E2 #6987E2 #8869E2
triadic
#6987E2 #E26987 #87E269
tetradic
#6987E2 #E269C4 #E2C469 #69E288
square
#6987E2 #E269C4 #E2C469 #69E288
split-complementary
#6987E2 #E28869 #C4E269
monochromatic
#2245AF #365ED8 #6987E2 #9CB0EC #D0D9F6

Accessibility & contrast

On white

3.41
#6987E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#6987E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987E2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987E2#FFFFFF#000000##000000
##6987E21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#5386E0
Tritanopia (blue-blind)
#2A9BA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6987e2;
/* rgb */ color: rgb(105, 135, 226);
/* oklch */ color: oklch(64.2% 0.141 268.5);
Tailwind
colors: {
  custom: {
    50: '#9ba9eb',
    500: '#6987e2',
    950: '#000000',
  },
}
SCSS
$custom: #6987e2;
$custom-light: #9ba9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6987e2",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 225.124,
    "s": 67.598,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.14076,
    "h": 268.5
  },
  "luminance": 0.25822
}

Semantic roles & 50–950 ramp

primary
#6987E2
secondary
#E8DEBF
accent
#A216D0
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6987E2

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

Preview Lab → · Contrast checker → · Palette generator →

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