#6786F7#6786F7

#6786F7 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.2% C 0.171 H 269.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6786F7
RGBrgb(103, 134, 247)
HSLhsl(227, 90%, 69%)
HSVhsv(227, 58%, 97%)
CMYKcmyk(58.3%, 45.7%, 0%, 3.1%)
CIE-LABlab(58.65, 22.06, -60.03)
CIE-LCHlch(58.65, 63.95, 290.18°)
OKLaboklab(65.15% -0.0011 -0.1713)
OKLCHoklch(65.15% 0.171 269.6)
XYZxyz(30.9015, 26.6467, 91.4926)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786F7 #F7D867
analogous
#67CEF7 #6786F7 #9067F7
triadic
#6786F7 #F76786 #86F767
tetradic
#6786F7 #F767CE #F7D867 #67F790
square
#6786F7 #F767CE #F7D867 #67F790
split-complementary
#6786F7 #F79067 #CEF767
monochromatic
#0B37D8 #2D58F4 #6786F7 #A1B4FA #DBE3FD

Accessibility & contrast

On white

3.32
#6786F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#6786F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786F7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786F7#FFFFFF#000000##000000
##6786F71.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#3A87F5
Tritanopia (blue-blind)
#009FB3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6786f7;
/* rgb */ color: rgb(103, 134, 247);
/* oklch */ color: oklch(65.2% 0.171 269.6);
Tailwind
colors: {
  custom: {
    50: '#9da8fa',
    500: '#6786f7',
    950: '#000000',
  },
}
SCSS
$custom: #6786f7;
$custom-light: #9da8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6786f7",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 227.083,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65154,
    "c": 0.17131,
    "h": 269.6
  },
  "luminance": 0.26649
}

Semantic roles & 50–950 ramp

primary
#6786F7
secondary
#F2E9C7
accent
#B400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6786F7

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

Preview Lab → · Contrast checker → · Palette generator →

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