#6987DB#6987DB

#6987DB is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.8% C 0.131 H 267.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6987DB
RGBrgb(105, 135, 219)
HSLhsl(224, 61%, 64%)
HSVhsv(224, 52%, 86%)
CMYKcmyk(52.1%, 38.4%, 0%, 14.1%)
CIE-LABlab(57.51, 12.95, -46.27)
CIE-LCHlch(57.51, 48.05, 285.63°)
OKLaboklab(63.82% -0.0051 -0.1309)
OKLCHoklch(63.82% 0.131 267.8)
XYZxyz(27.2716, 25.4438, 70.4782)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987DB #DBBD69
analogous
#69C0DB #6987DB #8469DB
triadic
#6987DB #DB6987 #87DB69
tetradic
#6987DB #DB69C0 #DBBD69 #69DB84
square
#6987DB #DB69C0 #DBBD69 #69DB84
split-complementary
#6987DB #DB8469 #C0DB69
monochromatic
#2748A3 #3860CF #6987DB #9AAEE7 #CCD6F3

Accessibility & contrast

On white

3.45
#6987DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#6987DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987DB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987DB#FFFFFF#000000##000000
##6987DB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590DE
Deuteranopia (green-blind)
#5985D9
Tritanopia (blue-blind)
#3299A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6987db;
/* rgb */ color: rgb(105, 135, 219);
/* oklch */ color: oklch(63.8% 0.131 267.8);
Tailwind
colors: {
  custom: {
    50: '#9ba9e6',
    500: '#6987db',
    950: '#000000',
  },
}
SCSS
$custom: #6987db;
$custom-light: #9ba9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6987db",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 224.211,
    "s": 61.29,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63817,
    "c": 0.13104,
    "h": 267.8
  },
  "luminance": 0.25446
}

Semantic roles & 50–950 ramp

primary
#6987DB
secondary
#E4D9BC
accent
#9C1DC9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6987DB

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

Preview Lab → · Contrast checker → · Palette generator →

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