#6786E8#6786E8

#6786E8 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.151 H 268.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6786E8
RGBrgb(103, 134, 232)
HSLhsl(226, 74%, 66%)
HSVhsv(226, 56%, 91%)
CMYKcmyk(55.6%, 42.2%, 0%, 9%)
CIE-LABlab(57.81, 17.23, -53.06)
CIE-LCHlch(57.81, 55.79, 287.99°)
OKLaboklab(64.24% -0.0035 -0.1509)
OKLCHoklch(64.24% 0.151 268.7)
XYZxyz(28.6793, 25.7578, 79.7887)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786E8 #E8C967
analogous
#67C7E8 #6786E8 #8867E8
triadic
#6786E8 #E86786 #86E867
tetradic
#6786E8 #E867C7 #E8C967 #67E888
square
#6786E8 #E867C7 #E8C967 #67E888
split-complementary
#6786E8 #E88867 #C7E867
monochromatic
#1C42B9 #325CE0 #6786E8 #9CB0F0 #D1DBF8

Accessibility & contrast

On white

3.41
#6786E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#6786E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786E8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786E8#FFFFFF#000000##000000
##6786E81.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#4B86E6
Tritanopia (blue-blind)
#159CAC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6786e8;
/* rgb */ color: rgb(103, 134, 232);
/* oklch */ color: oklch(64.2% 0.151 268.7);
Tailwind
colors: {
  custom: {
    50: '#9ba8f0',
    500: '#6786e8',
    950: '#000000',
  },
}
SCSS
$custom: #6786e8;
$custom-light: #9ba8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6786e8",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 232
  },
  "hsl": {
    "h": 225.581,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64241,
    "c": 0.15089,
    "h": 268.7
  },
  "luminance": 0.2576
}

Semantic roles & 50–950 ramp

primary
#6786E8
secondary
#EBE1C0
accent
#A610D6
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6786E8

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

Preview Lab → · Contrast checker → · Palette generator →

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