#6786BC#6786BC

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

Color values

HEX#6786BC
RGBrgb(103, 134, 188)
HSLhsl(218, 39%, 57%)
HSVhsv(218, 45%, 74%)
CMYKcmyk(45.2%, 28.7%, 0%, 26.3%)
CIE-LABlab(55.65, 3.62, -31.68)
CIE-LCHlch(55.65, 31.89, 276.52°)
OKLaboklab(61.86% -0.0138 -0.0886)
OKLCHoklch(61.86% 0.09 261.2)
XYZxyz(23.1928, 23.5632, 50.8932)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786BC #BC9D67
analogous
#67B0BC #6786BC #7367BC
triadic
#6786BC #BC6786 #86BC67
tetradic
#6786BC #BC67B0 #BC9D67 #67BC73
square
#6786BC #BC67B0 #BC9D67 #67BC73
split-complementary
#6786BC #BC7367 #B0BC67
monochromatic
#344B75 #46679F #6786BC #91A8CF #BCCAE1

Accessibility & contrast

On white

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

On black

5.71
#6786BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786BC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786BC#FFFFFF#000000##000000
##6786BC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABE
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#469299
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6786bc;
/* rgb */ color: rgb(103, 134, 188);
/* oklch */ color: oklch(61.9% 0.090 261.2);
Tailwind
colors: {
  custom: {
    50: '#96a9d0',
    500: '#6786bc',
    950: '#000000',
  },
}
SCSS
$custom: #6786bc;
$custom-light: #96a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6786bc",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 218.118,
    "s": 38.813,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61864,
    "c": 0.08968,
    "h": 261.2
  },
  "luminance": 0.23565
}

Semantic roles & 50–950 ramp

primary
#6786BC
secondary
#D1C4AE
accent
#A459CF
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6786BC

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

Preview Lab → · Contrast checker → · Palette generator →

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