#6987DC#6987DC

#6987DC is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.132 H 267.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6987DC
RGBrgb(105, 135, 220)
HSLhsl(224, 62%, 64%)
HSVhsv(224, 52%, 86%)
CMYKcmyk(52.3%, 38.6%, 0%, 13.7%)
CIE-LABlab(57.56, 13.26, -46.75)
CIE-LCHlch(57.56, 48.60, 285.84°)
OKLaboklab(63.87% -0.0049 -0.1323)
OKLCHoklch(63.87% 0.132 267.9)
XYZxyz(27.4037, 25.4966, 71.1736)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987DC #DCBE69
analogous
#69C0DC #6987DC #8469DC
triadic
#6987DC #DC6987 #87DC69
tetradic
#6987DC #DC69C0 #DCBE69 #69DC84
square
#6987DC #DC69C0 #DCBE69 #69DC84
split-complementary
#6987DC #DC8469 #C0DC69
monochromatic
#2647A4 #375FD0 #6987DC #9BAFE8 #CCD6F3

Accessibility & contrast

On white

3.44
#6987DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#6987DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987DC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987DC#FFFFFF#000000##000000
##6987DC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590DF
Deuteranopia (green-blind)
#5885DA
Tritanopia (blue-blind)
#3199A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6987dc;
/* rgb */ color: rgb(105, 135, 220);
/* oklch */ color: oklch(63.9% 0.132 267.9);
Tailwind
colors: {
  custom: {
    50: '#9ba9e7',
    500: '#6987dc',
    950: '#000000',
  },
}
SCSS
$custom: #6987dc;
$custom-light: #9ba9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6987dc",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 224.348,
    "s": 62.162,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63873,
    "c": 0.13243,
    "h": 267.9
  },
  "luminance": 0.25499
}

Semantic roles & 50–950 ramp

primary
#6987DC
secondary
#E5DABC
accent
#9C1CCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6987DC

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

Preview Lab → · Contrast checker → · Palette generator →

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