#6787AF#6787AF

#6787AF is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.071 H 254.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6787AF
RGBrgb(103, 135, 175)
HSLhsl(213, 31%, 55%)
HSVhsv(213, 41%, 69%)
CMYKcmyk(41.1%, 22.9%, 0%, 31.4%)
CIE-LABlab(55.39, -0.73, -24.66)
CIE-LCHlch(55.39, 24.67, 268.29°)
OKLaboklab(61.48% -0.0192 -0.0685)
OKLCHoklch(61.48% 0.071 254.3)
XYZxyz(21.9929, 23.3054, 43.8887)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787AF #AF8F67
analogous
#67ABAF #6787AF #6B67AF
triadic
#6787AF #AF6787 #87AF67
tetradic
#6787AF #AF67AB #AF8F67 #67AF6B
square
#6787AF #AF67AB #AF8F67 #67AF6B
split-complementary
#6787AF #AF6B67 #ABAF67
monochromatic
#364B66 #4B698E #6787AF #8FA7C4 #B7C6D9

Accessibility & contrast

On white

3.71
#6787AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#6787AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787AF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787AF#FFFFFF#000000##000000
##6787AF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B1
Deuteranopia (green-blind)
#7081AE
Tritanopia (blue-blind)
#4D9095
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6787af;
/* rgb */ color: rgb(103, 135, 175);
/* oklch */ color: oklch(61.5% 0.071 254.3);
Tailwind
colors: {
  custom: {
    50: '#95a9c7',
    500: '#6787af',
    950: '#000000',
  },
}
SCSS
$custom: #6787af;
$custom-light: #95a9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6787af",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 213.333,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.0711,
    "h": 254.3
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

primary
#6787AF
secondary
#C8BBAA
accent
#9A61C7
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0D0F13
muted
#7E7F82

Preview Lab

Preview with #6787AF

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

Preview Lab → · Contrast checker → · Palette generator →

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