#6987DF#6987DF

#6987DF is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.0% C 0.137 H 268.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6987DF
RGBrgb(105, 135, 223)
HSLhsl(225, 65%, 64%)
HSVhsv(225, 53%, 87%)
CMYKcmyk(52.9%, 39.5%, 0%, 12.5%)
CIE-LABlab(57.71, 14.20, -48.19)
CIE-LCHlch(57.71, 50.24, 286.42°)
OKLaboklab(64.04% -0.0043 -0.1365)
OKLCHoklch(64.04% 0.137 268.2)
XYZxyz(27.8046, 25.6569, 73.2848)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987DF #DFC169
analogous
#69C2DF #6987DF #8669DF
triadic
#6987DF #DF6987 #87DF69
tetradic
#6987DF #DF69C2 #DFC169 #69DF86
square
#6987DF #DF69C2 #DFC169 #69DF86
split-complementary
#6987DF #DF8669 #C2DF69
monochromatic
#2446A9 #375FD4 #6987DF #9BAFEA #CED8F5

Accessibility & contrast

On white

3.42
#6987DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#6987DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987DF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987DF#FFFFFF#000000##000000
##6987DF1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E2
Deuteranopia (green-blind)
#5686DD
Tritanopia (blue-blind)
#2E9AA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6987df;
/* rgb */ color: rgb(105, 135, 223);
/* oklch */ color: oklch(64.0% 0.137 268.2);
Tailwind
colors: {
  custom: {
    50: '#9ba9e9',
    500: '#6987df',
    950: '#000000',
  },
}
SCSS
$custom: #6987df;
$custom-light: #9ba9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6987df",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 224.746,
    "s": 64.835,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64042,
    "c": 0.1366,
    "h": 268.2
  },
  "luminance": 0.25659
}

Semantic roles & 50–950 ramp

primary
#6987DF
secondary
#E6DCBD
accent
#9F19CD
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6987DF

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

Preview Lab → · Contrast checker → · Palette generator →

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