#6987EA#6987EA

#6987EA is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.7% C 0.152 H 269.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6987EA
RGBrgb(105, 135, 234)
HSLhsl(226, 75%, 66%)
HSVhsv(226, 55%, 92%)
CMYKcmyk(55.1%, 42.3%, 0%, 8.2%)
CIE-LABlab(58.29, 17.68, -53.39)
CIE-LCHlch(58.29, 56.24, 288.32°)
OKLaboklab(64.68% -0.0022 -0.1518)
OKLCHoklch(64.68% 0.152 269.2)
XYZxyz(29.3360, 26.2695, 81.3506)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987EA #EACC69
analogous
#69C7EA #6987EA #8C69EA
triadic
#6987EA #EA6987 #87EA69
tetradic
#6987EA #EA69C7 #EACC69 #69EA8C
square
#6987EA #EA69C7 #EACC69 #69EA8C
split-complementary
#6987EA #EA8C69 #C7EA69
monochromatic
#1B41BE #335CE2 #6987EA #9FB2F2 #D4DDF9

Accessibility & contrast

On white

3.36
#6987EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#6987EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987EA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987EA#FFFFFF#000000##000000
##6987EA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#1C9DAD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6987ea;
/* rgb */ color: rgb(105, 135, 234);
/* oklch */ color: oklch(64.7% 0.152 269.2);
Tailwind
colors: {
  custom: {
    50: '#9da9f1',
    500: '#6987ea',
    950: '#000000',
  },
}
SCSS
$custom: #6987ea;
$custom-light: #9da9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6987ea",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 226.047,
    "s": 75.439,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64678,
    "c": 0.15179,
    "h": 269.2
  },
  "luminance": 0.26272
}

Semantic roles & 50–950 ramp

primary
#6987EA
secondary
#ECE3C2
accent
#A90ED8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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