#6786BB#6786BB

#6786BB is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.8% C 0.088 H 260.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6786BB
RGBrgb(103, 134, 187)
HSLhsl(218, 38%, 57%)
HSVhsv(218, 45%, 73%)
CMYKcmyk(44.9%, 28.3%, 0%, 26.7%)
CIE-LABlab(55.60, 3.32, -31.18)
CIE-LCHlch(55.60, 31.36, 276.08°)
OKLaboklab(61.82% -0.0141 -0.0872)
OKLCHoklch(61.82% 0.088 260.8)
XYZxyz(23.0853, 23.5202, 50.3275)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786BB #BB9C67
analogous
#67B0BB #6786BB #7267BB
triadic
#6786BB #BB6786 #86BB67
tetradic
#6786BB #BB67B0 #BB9C67 #67BB72
square
#6786BB #BB67B0 #BB9C67 #67BB72
split-complementary
#6786BB #BB7267 #B0BB67
monochromatic
#344B74 #47679E #6786BB #91A8CE #BCC9E1

Accessibility & contrast

On white

3.68
#6786BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#6786BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786BB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786BB#FFFFFF#000000##000000
##6786BB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABD
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#479199
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6786bb;
/* rgb */ color: rgb(103, 134, 187);
/* oklch */ color: oklch(61.8% 0.088 260.8);
Tailwind
colors: {
  custom: {
    50: '#96a9cf',
    500: '#6786bb',
    950: '#000000',
  },
}
SCSS
$custom: #6786bb;
$custom-light: #96a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6786bb",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 217.857,
    "s": 38.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61816,
    "c": 0.08829,
    "h": 260.8
  },
  "luminance": 0.23522
}

Semantic roles & 50–950 ramp

primary
#6786BB
secondary
#D0C3AE
accent
#A35ACE
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6786BB

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

Preview Lab → · Contrast checker → · Palette generator →

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