#6786A8#6786A8

#6786A8 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.9% C 0.063 H 251.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6786A8
RGBrgb(103, 134, 168)
HSLhsl(211, 27%, 53%)
HSVhsv(211, 39%, 66%)
CMYKcmyk(38.7%, 20.2%, 0%, 34.1%)
CIE-LABlab(54.82, -2.12, -21.50)
CIE-LCHlch(54.82, 21.61, 264.36°)
OKLaboklab(60.95% -0.0203 -0.0595)
OKLCHoklch(60.95% 0.063 251.2)
XYZxyz(21.1842, 22.7598, 40.3150)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786A8 #A88967
analogous
#67A6A8 #6786A8 #6867A8
triadic
#6786A8 #A86786 #86A867
tetradic
#6786A8 #A867A6 #A88967 #67A868
square
#6786A8 #A867A6 #A88967 #67A868
split-complementary
#6786A8 #A86867 #A6A867
monochromatic
#36495F #4C6885 #6786A8 #8EA5BE #B5C4D5

Accessibility & contrast

On white

3.78
#6786A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6786A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786A8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786A8#FFFFFF#000000##000000
##6786A81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AA
Deuteranopia (green-blind)
#7180A7
Tritanopia (blue-blind)
#518E91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6786a8;
/* rgb */ color: rgb(103, 134, 168);
/* oklch */ color: oklch(60.9% 0.063 251.2);
Tailwind
colors: {
  custom: {
    50: '#95a9c2',
    500: '#6786a8',
    950: '#000000',
  },
}
SCSS
$custom: #6786a8;
$custom-light: #95a9c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6786a8",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 168
  },
  "hsl": {
    "h": 211.385,
    "s": 27.197,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60947,
    "c": 0.06285,
    "h": 251.2
  },
  "luminance": 0.22761
}

Semantic roles & 50–950 ramp

primary
#6786A8
secondary
#C3B6A7
accent
#9664C4
background
#F9FAFB
surface
#F2F4F7
border
#CCCED0
text
#0D0F12
muted
#7E7F81

Preview Lab

Preview with #6786A8

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

Preview Lab → · Contrast checker → · Palette generator →

#6786A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva