#6786EB#6786EB

#6786EB is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.155 H 268.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6786EB
RGBrgb(103, 134, 235)
HSLhsl(226, 77%, 66%)
HSVhsv(226, 56%, 92%)
CMYKcmyk(56.2%, 43%, 0%, 7.8%)
CIE-LABlab(57.97, 18.19, -54.47)
CIE-LCHlch(57.97, 57.42, 288.47°)
OKLaboklab(64.42% -0.0029 -0.155)
OKLCHoklch(64.42% 0.155 268.9)
XYZxyz(29.1090, 25.9297, 82.0521)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786EB #EBCC67
analogous
#67C8EB #6786EB #8A67EB
triadic
#6786EB #EB6786 #86EB67
tetradic
#6786EB #EB67C8 #EBCC67 #67EB8A
square
#6786EB #EB67C8 #EBCC67 #67EB8A
split-complementary
#6786EB #EB8A67 #C8EB67
monochromatic
#1940BF #315BE4 #6786EB #9DB1F2 #D3DCF9

Accessibility & contrast

On white

3.39
#6786EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#6786EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786EB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786EB#FFFFFF#000000##000000
##6786EB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#0B9CAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6786eb;
/* rgb */ color: rgb(103, 134, 235);
/* oklch */ color: oklch(64.4% 0.155 268.9);
Tailwind
colors: {
  custom: {
    50: '#9ca8f2',
    500: '#6786eb',
    950: '#000000',
  },
}
SCSS
$custom: #6786eb;
$custom-light: #9ca8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6786eb",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 225.909,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64419,
    "c": 0.155,
    "h": 268.9
  },
  "luminance": 0.25932
}

Semantic roles & 50–950 ramp

primary
#6786EB
secondary
#ECE2C1
accent
#A90DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6786EB

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

Preview Lab → · Contrast checker → · Palette generator →

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