#6787CD#6787CD

#6787CD is a light, moderate blue. Relative luminance 0.246; OKLCH L 62.9% C 0.112 H 264.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6787CD
RGBrgb(103, 135, 205)
HSLhsl(221, 50%, 60%)
HSVhsv(221, 50%, 80%)
CMYKcmyk(49.8%, 34.1%, 0%, 19.6%)
CIE-LABlab(56.70, 8.16, -39.68)
CIE-LCHlch(56.70, 40.51, 281.62°)
OKLaboklab(62.94% -0.0104 -0.1117)
OKLCHoklch(62.94% 0.112 264.7)
XYZxyz(25.2733, 24.6176, 61.1657)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787CD #CDAD67
analogous
#67BACD #6787CD #7A67CD
triadic
#6787CD #CD6787 #87CD67
tetradic
#6787CD #CD67BA #CDAD67 #67CD7A
square
#6787CD #CD67BA #CDAD67 #67CD7A
split-complementary
#6787CD #CD7A67 #BACD67
monochromatic
#2E4B8C #3D64BA #6787CD #95ABDC #C3D0EB

Accessibility & contrast

On white

3.55
#6787CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#6787CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787CD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787CD#FFFFFF#000000##000000
##6787CD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#6184CB
Tritanopia (blue-blind)
#3A96A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6787cd;
/* rgb */ color: rgb(103, 135, 205);
/* oklch */ color: oklch(62.9% 0.112 264.7);
Tailwind
colors: {
  custom: {
    50: '#98a9dc',
    500: '#6787cd',
    950: '#000000',
  },
}
SCSS
$custom: #6787cd;
$custom-light: #98a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6787cd",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 221.176,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62939,
    "c": 0.11223,
    "h": 264.7
  },
  "luminance": 0.24619
}

Semantic roles & 50–950 ramp

primary
#6787CD
secondary
#DBCFB4
accent
#8F28BE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6787CD

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

Preview Lab → · Contrast checker → · Palette generator →

#6787CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva