#6786BF#6786BF

#6786BF is a light, moderate blue. Relative luminance 0.237; OKLCH L 62.0% C 0.094 H 262.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6786BF
RGBrgb(103, 134, 191)
HSLhsl(219, 41%, 58%)
HSVhsv(219, 46%, 75%)
CMYKcmyk(46.1%, 29.8%, 0%, 25.1%)
CIE-LABlab(55.78, 4.51, -33.19)
CIE-LCHlch(55.78, 33.49, 277.74°)
OKLaboklab(62.01% -0.0129 -0.0929)
OKLCHoklch(62.01% 0.094 262.1)
XYZxyz(23.5195, 23.6939, 52.6142)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786BF #BFA067
analogous
#67B2BF #6786BF #7467BF
triadic
#6786BF #BF6786 #86BF67
tetradic
#6786BF #BF67B2 #BFA067 #67BF74
square
#6786BF #BF67B2 #BFA067 #67BF74
split-complementary
#6786BF #BF7467 #B2BF67
monochromatic
#334B79 #4566A4 #6786BF #92A8D1 #BDCBE3

Accessibility & contrast

On white

3.66
#6786BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#6786BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786BF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786BF#FFFFFF#000000##000000
##6786BF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#45929A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6786bf;
/* rgb */ color: rgb(103, 134, 191);
/* oklch */ color: oklch(62.0% 0.094 262.1);
Tailwind
colors: {
  custom: {
    50: '#96a9d2',
    500: '#6786bf',
    950: '#000000',
  },
}
SCSS
$custom: #6786bf;
$custom-light: #96a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6786bf",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 218.864,
    "s": 40.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.09383,
    "h": 262.1
  },
  "luminance": 0.23695
}

Semantic roles & 50–950 ramp

primary
#6786BF
secondary
#D3C6AF
accent
#A657D1
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #6786BF

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

Preview Lab → · Contrast checker → · Palette generator →

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