#6786E4#6786E4

#6786E4 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.0% C 0.145 H 268.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6786E4
RGBrgb(103, 134, 228)
HSLhsl(225, 70%, 65%)
HSVhsv(225, 55%, 89%)
CMYKcmyk(54.8%, 41.2%, 0%, 10.6%)
CIE-LABlab(57.59, 15.95, -51.17)
CIE-LCHlch(57.59, 53.60, 287.32°)
OKLaboklab(64.01% -0.0042 -0.1453)
OKLCHoklch(64.01% 0.145 268.3)
XYZxyz(28.1176, 25.5331, 76.8304)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786E4 #E4C567
analogous
#67C4E4 #6786E4 #8767E4
triadic
#6786E4 #E46786 #86E467
tetradic
#6786E4 #E467C4 #E4C567 #67E487
square
#6786E4 #E467C4 #E4C567 #67E487
split-complementary
#6786E4 #E48767 #C4E467
monochromatic
#1F44B1 #335DDB #6786E4 #9BAFED #CFD9F6

Accessibility & contrast

On white

3.44
#6786E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#6786E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786E4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786E4#FFFFFF#000000##000000
##6786E41.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E8
Deuteranopia (green-blind)
#4F85E2
Tritanopia (blue-blind)
#1E9BAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6786e4;
/* rgb */ color: rgb(103, 134, 228);
/* oklch */ color: oklch(64.0% 0.145 268.3);
Tailwind
colors: {
  custom: {
    50: '#9ba8ed',
    500: '#6786e4',
    950: '#000000',
  },
}
SCSS
$custom: #6786e4;
$custom-light: #9ba8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6786e4",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 228
  },
  "hsl": {
    "h": 225.12,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64005,
    "c": 0.14538,
    "h": 268.3
  },
  "luminance": 0.25535
}

Semantic roles & 50–950 ramp

primary
#6786E4
secondary
#E9DEBE
accent
#A314D2
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6786E4

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

Preview Lab → · Contrast checker → · Palette generator →

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