#6786F6#6786F6

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

Color values

HEX#6786F6
RGBrgb(103, 134, 246)
HSLhsl(227, 89%, 68%)
HSVhsv(227, 58%, 96%)
CMYKcmyk(58.1%, 45.5%, 0%, 3.5%)
CIE-LABlab(58.59, 21.74, -59.57)
CIE-LCHlch(58.59, 63.41, 290.05°)
OKLaboklab(65.09% -0.0013 -0.17)
OKLCHoklch(65.09% 0.17 269.6)
XYZxyz(30.7476, 26.5851, 90.6820)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786F6 #F6D767
analogous
#67CDF6 #6786F6 #8F67F6
triadic
#6786F6 #F66786 #86F667
tetradic
#6786F6 #F667CD #F6D767 #67F68F
square
#6786F6 #F667CD #F6D767 #67F68F
split-complementary
#6786F6 #F68F67 #CDF667
monochromatic
#0D38D6 #2D58F3 #6786F6 #A1B4F9 #DBE2FD

Accessibility & contrast

On white

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

On black

6.32
#6786F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786F6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786F6#FFFFFF#000000##000000
##6786F61.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FA
Deuteranopia (green-blind)
#3C87F4
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6786f6;
/* rgb */ color: rgb(103, 134, 246);
/* oklch */ color: oklch(65.1% 0.170 269.6);
Tailwind
colors: {
  custom: {
    50: '#9da8fa',
    500: '#6786f6',
    950: '#000000',
  },
}
SCSS
$custom: #6786f6;
$custom-light: #9da8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6786f6",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 246
  },
  "hsl": {
    "h": 226.993,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65092,
    "c": 0.16996,
    "h": 269.6
  },
  "luminance": 0.26588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6786F6

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

Preview Lab → · Contrast checker → · Palette generator →

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