#6786EE#6786EE

#6786EE is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.6% C 0.159 H 269.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6786EE
RGBrgb(103, 134, 238)
HSLhsl(226, 80%, 67%)
HSVhsv(226, 57%, 93%)
CMYKcmyk(56.7%, 43.7%, 0%, 6.7%)
CIE-LABlab(58.14, 19.15, -55.87)
CIE-LCHlch(58.14, 59.06, 288.93°)
OKLaboklab(64.6% -0.0025 -0.1591)
OKLCHoklch(64.6% 0.159 269.1)
XYZxyz(29.5461, 26.1045, 84.3540)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786EE #EECF67
analogous
#67CAEE #6786EE #8C67EE
triadic
#6786EE #EE6786 #86EE67
tetradic
#6786EE #EE67CA #EECF67 #67EE8C
square
#6786EE #EE67CA #EECF67 #67EE8C
split-complementary
#6786EE #EE8C67 #CAEE67
monochromatic
#163EC5 #305AE8 #6786EE #9EB2F4 #D5DEFA

Accessibility & contrast

On white

3.38
#6786EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#6786EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786EE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786EE#FFFFFF#000000##000000
##6786EE1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6786ee;
/* rgb */ color: rgb(103, 134, 238);
/* oklch */ color: oklch(64.6% 0.159 269.1);
Tailwind
colors: {
  custom: {
    50: '#9ca8f4',
    500: '#6786ee',
    950: '#000000',
  },
}
SCSS
$custom: #6786ee;
$custom-light: #9ca8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6786ee",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 226.222,
    "s": 79.882,
    "l": 66.863
  },
  "oklch": {
    "l": 0.646,
    "c": 0.1591,
    "h": 269.1
  },
  "luminance": 0.26107
}

Semantic roles & 50–950 ramp

primary
#6786EE
secondary
#EEE4C3
accent
#AC09DC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6786EE

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

Preview Lab → · Contrast checker → · Palette generator →

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