#6786DF#6786DF

#6786DF is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.7% C 0.138 H 267.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6786DF
RGBrgb(103, 134, 223)
HSLhsl(225, 65%, 64%)
HSVhsv(225, 54%, 87%)
CMYKcmyk(53.8%, 39.9%, 0%, 12.5%)
CIE-LABlab(57.33, 14.37, -48.80)
CIE-LCHlch(57.33, 50.87, 286.40°)
OKLaboklab(63.72% -0.0051 -0.1384)
OKLCHoklch(63.72% 0.138 267.9)
XYZxyz(27.4335, 25.2595, 73.2277)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786DF #DFC067
analogous
#67C2DF #6786DF #8467DF
triadic
#6786DF #DF6786 #86DF67
tetradic
#6786DF #DF67C2 #DFC067 #67DF84
square
#6786DF #DF67C2 #DFC067 #67DF84
split-complementary
#6786DF #DF8467 #C2DF67
monochromatic
#2346A8 #345ED4 #6786DF #9AAEEA #CCD6F4

Accessibility & contrast

On white

3.47
#6786DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#6786DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786DF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786DF#FFFFFF#000000##000000
##6786DF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE2
Deuteranopia (green-blind)
#5385DD
Tritanopia (blue-blind)
#2799A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6786df;
/* rgb */ color: rgb(103, 134, 223);
/* oklch */ color: oklch(63.7% 0.138 267.9);
Tailwind
colors: {
  custom: {
    50: '#9aa8e9',
    500: '#6786df',
    950: '#000000',
  },
}
SCSS
$custom: #6786df;
$custom-light: #9aa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6786df",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 224.5,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63716,
    "c": 0.13847,
    "h": 267.9
  },
  "luminance": 0.25261
}

Semantic roles & 50–950 ramp

primary
#6786DF
secondary
#E6DBBC
accent
#9E18CD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6786DF

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

Preview Lab → · Contrast checker → · Palette generator →

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