#6987ED#6987ED

#6987ED is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.9% C 0.156 H 269.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6987ED
RGBrgb(105, 135, 237)
HSLhsl(226, 79%, 67%)
HSVhsv(226, 56%, 93%)
CMYKcmyk(55.7%, 43%, 0%, 7.1%)
CIE-LABlab(58.46, 18.63, -54.80)
CIE-LCHlch(58.46, 57.88, 288.78°)
OKLaboklab(64.86% -0.0017 -0.1559)
OKLCHoklch(64.86% 0.156 269.4)
XYZxyz(29.7707, 26.4434, 83.6396)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987ED #EDCF69
analogous
#69C9ED #6987ED #8D69ED
triadic
#6987ED #ED6987 #87ED69
tetradic
#6987ED #ED69C9 #EDCF69 #69ED8D
square
#6987ED #ED69C9 #EDCF69 #69ED8D
split-complementary
#6987ED #ED8D69 #C9ED69
monochromatic
#183FC4 #325BE6 #6987ED #A0B3F4 #D6DEFA

Accessibility & contrast

On white

3.34
#6987ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#6987ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987ED
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987ED#FFFFFF#000000##000000
##6987ED1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#159DAE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6987ed;
/* rgb */ color: rgb(105, 135, 237);
/* oklch */ color: oklch(64.9% 0.156 269.4);
Tailwind
colors: {
  custom: {
    50: '#9da9f3',
    500: '#6987ed',
    950: '#000000',
  },
}
SCSS
$custom: #6987ed;
$custom-light: #9da9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6987ed",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 226.364,
    "s": 78.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64857,
    "c": 0.1559,
    "h": 269.4
  },
  "luminance": 0.26446
}

Semantic roles & 50–950 ramp

primary
#6987ED
secondary
#EEE4C4
accent
#AC0BDB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987ED

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

Preview Lab → · Contrast checker → · Palette generator →

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