#6786BD#6786BD

#6786BD is a mid, moderate blue. Relative luminance 0.236; OKLCH L 61.9% C 0.091 H 261.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6786BD
RGBrgb(103, 134, 189)
HSLhsl(218, 39%, 57%)
HSVhsv(218, 46%, 74%)
CMYKcmyk(45.5%, 29.1%, 0%, 25.9%)
CIE-LABlab(55.69, 3.92, -32.18)
CIE-LCHlch(55.69, 32.42, 276.94°)
OKLaboklab(61.91% -0.0135 -0.09)
OKLCHoklch(61.91% 0.091 261.5)
XYZxyz(23.3009, 23.6065, 51.4629)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786BD #BD9E67
analogous
#67B1BD #6786BD #7367BD
triadic
#6786BD #BD6786 #86BD67
tetradic
#6786BD #BD67B1 #BD9E67 #67BD73
square
#6786BD #BD67B1 #BD9E67 #67BD73
split-complementary
#6786BD #BD7367 #B1BD67
monochromatic
#334B76 #4667A1 #6786BD #92A8D0 #BCCAE2

Accessibility & contrast

On white

3.67
#6786BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#6786BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786BD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786BD#FFFFFF#000000##000000
##6786BD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABF
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#469299
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6786bd;
/* rgb */ color: rgb(103, 134, 189);
/* oklch */ color: oklch(61.9% 0.091 261.5);
Tailwind
colors: {
  custom: {
    50: '#96a9d1',
    500: '#6786bd',
    950: '#000000',
  },
}
SCSS
$custom: #6786bd;
$custom-light: #96a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6786bd",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 189
  },
  "hsl": {
    "h": 218.372,
    "s": 39.45,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.09105,
    "h": 261.5
  },
  "luminance": 0.23608
}

Semantic roles & 50–950 ramp

primary
#6786BD
secondary
#D1C5AE
accent
#A458CF
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6786BD

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

Preview Lab → · Contrast checker → · Palette generator →

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