#6786E5#6786E5

#6786E5 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.147 H 268.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6786E5
RGBrgb(103, 134, 229)
HSLhsl(225, 71%, 65%)
HSVhsv(225, 55%, 90%)
CMYKcmyk(55%, 41.5%, 0%, 10.2%)
CIE-LABlab(57.64, 16.27, -51.65)
CIE-LCHlch(57.64, 54.15, 287.49°)
OKLaboklab(64.06% -0.004 -0.1467)
OKLCHoklch(64.06% 0.147 268.4)
XYZxyz(28.2568, 25.5888, 77.5637)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786E5 #E5C667
analogous
#67C5E5 #6786E5 #8767E5
triadic
#6786E5 #E56786 #86E567
tetradic
#6786E5 #E567C5 #E5C667 #67E587
square
#6786E5 #E567C5 #E5C667 #67E587
split-complementary
#6786E5 #E58767 #C5E567
monochromatic
#1F43B3 #335CDC #6786E5 #9BB0EE #D0D9F7

Accessibility & contrast

On white

3.43
#6786E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#6786E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786E5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786E5#FFFFFF#000000##000000
##6786E51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E9
Deuteranopia (green-blind)
#4E85E3
Tritanopia (blue-blind)
#1C9BAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6786e5;
/* rgb */ color: rgb(103, 134, 229);
/* oklch */ color: oklch(64.1% 0.147 268.4);
Tailwind
colors: {
  custom: {
    50: '#9ba8ee',
    500: '#6786e5',
    950: '#000000',
  },
}
SCSS
$custom: #6786e5;
$custom-light: #9ba8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6786e5",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 225.238,
    "s": 70.787,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.14676,
    "h": 268.4
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

primary
#6786E5
secondary
#E9DFBF
accent
#A413D3
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #6786E5

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

Preview Lab → · Contrast checker → · Palette generator →

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