#6887DC#6887DC

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

Color values

HEX#6887DC
RGBrgb(104, 135, 220)
HSLhsl(224, 62%, 64%)
HSVhsv(224, 53%, 86%)
CMYKcmyk(52.7%, 38.6%, 0%, 13.7%)
CIE-LABlab(57.50, 13.04, -46.85)
CIE-LCHlch(57.50, 48.63, 285.56°)
OKLaboklab(63.81% -0.0059 -0.1326)
OKLCHoklch(63.81% 0.133 267.4)
XYZxyz(27.2869, 25.4364, 71.1681)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887DC #DCBD68
analogous
#68C1DC #6887DC #8368DC
triadic
#6887DC #DC6887 #87DC68
tetradic
#6887DC #DC68C1 #DCBD68 #68DC83
square
#6887DC #DC68C1 #DCBD68 #68DC83
split-complementary
#6887DC #DC8368 #C1DC68
monochromatic
#2648A4 #3660D0 #6887DC #9AAEE8 #CBD6F3

Accessibility & contrast

On white

3.45
#6887DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#6887DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887DC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887DC#FFFFFF#000000##000000
##6887DC1.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)
#6590DF
Deuteranopia (green-blind)
#5785DA
Tritanopia (blue-blind)
#2E99A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6887dc;
/* rgb */ color: rgb(104, 135, 220);
/* oklch */ color: oklch(63.8% 0.133 267.4);
Tailwind
colors: {
  custom: {
    50: '#9aa9e7',
    500: '#6887dc',
    950: '#000000',
  },
}
SCSS
$custom: #6887dc;
$custom-light: #9aa9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6887dc",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 223.966,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.13277,
    "h": 267.4
  },
  "luminance": 0.25438
}

Semantic roles & 50–950 ramp

primary
#6887DC
secondary
#E4D9BB
accent
#9B1BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6887DC

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

Preview Lab → · Contrast checker → · Palette generator →

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