#6786ED#6786ED

#6786ED is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.158 H 269.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6786ED
RGBrgb(103, 134, 237)
HSLhsl(226, 79%, 67%)
HSVhsv(226, 57%, 93%)
CMYKcmyk(56.5%, 43.5%, 0%, 7.1%)
CIE-LABlab(58.08, 18.83, -55.40)
CIE-LCHlch(58.08, 58.51, 288.78°)
OKLaboklab(64.54% -0.0026 -0.1577)
OKLCHoklch(64.54% 0.158 269)
XYZxyz(29.3996, 26.0459, 83.5825)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786ED #EDCE67
analogous
#67C9ED #6786ED #8B67ED
triadic
#6786ED #ED6786 #86ED67
tetradic
#6786ED #ED67C9 #EDCE67 #67ED8B
square
#6786ED #ED67C9 #EDCE67 #67ED8B
split-complementary
#6786ED #ED8B67 #C9ED67
monochromatic
#173FC3 #305AE7 #6786ED #9EB2F3 #D4DDFA

Accessibility & contrast

On white

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

On black

6.21
#6786ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786ED
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786ED#FFFFFF#000000##000000
##6786ED1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#029DAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6786ed;
/* rgb */ color: rgb(103, 134, 237);
/* oklch */ color: oklch(64.5% 0.158 269.0);
Tailwind
colors: {
  custom: {
    50: '#9ca8f3',
    500: '#6786ed',
    950: '#000000',
  },
}
SCSS
$custom: #6786ed;
$custom-light: #9ca8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6786ed",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 237
  },
  "hsl": {
    "h": 226.119,
    "s": 78.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.15774,
    "h": 269
  },
  "luminance": 0.26048
}

Semantic roles & 50–950 ramp

primary
#6786ED
secondary
#EDE3C2
accent
#AB0ADB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6786ED

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

Preview Lab → · Contrast checker → · Palette generator →

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