#6987EC#6987EC

#6987EC is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.155 H 269.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6987EC
RGBrgb(105, 135, 236)
HSLhsl(226, 78%, 67%)
HSVhsv(226, 56%, 93%)
CMYKcmyk(55.5%, 42.8%, 0%, 7.5%)
CIE-LABlab(58.40, 18.32, -54.33)
CIE-LCHlch(58.40, 57.33, 288.63°)
OKLaboklab(64.8% -0.0019 -0.1545)
OKLCHoklch(64.8% 0.155 269.3)
XYZxyz(29.6250, 26.3851, 82.8723)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987EC #ECCE69
analogous
#69C8EC #6987EC #8D69EC
triadic
#6987EC #EC6987 #87EC69
tetradic
#6987EC #EC69C8 #ECCE69 #69EC8D
square
#6987EC #EC69C8 #ECCE69 #69EC8D
split-complementary
#6987EC #EC8D69 #C8EC69
monochromatic
#193FC2 #335CE5 #6987EC #9FB2F3 #D6DEFA

Accessibility & contrast

On white

3.35
#6987EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#6987EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987EC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987EC#FFFFFF#000000##000000
##6987EC1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#4A87EA
Tritanopia (blue-blind)
#179DAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6987ec;
/* rgb */ color: rgb(105, 135, 236);
/* oklch */ color: oklch(64.8% 0.155 269.3);
Tailwind
colors: {
  custom: {
    50: '#9da9f3',
    500: '#6987ec',
    950: '#000000',
  },
}
SCSS
$custom: #6987ec;
$custom-light: #9da9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6987ec",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 226.26,
    "s": 77.515,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64797,
    "c": 0.15453,
    "h": 269.3
  },
  "luminance": 0.26387
}

Semantic roles & 50–950 ramp

primary
#6987EC
secondary
#EDE4C3
accent
#AB0CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987EC

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

Preview Lab → · Contrast checker → · Palette generator →

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