#6786EA#6786EA

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

Color values

HEX#6786EA
RGBrgb(103, 134, 234)
HSLhsl(226, 76%, 66%)
HSVhsv(226, 56%, 92%)
CMYKcmyk(56%, 42.7%, 0%, 8.2%)
CIE-LABlab(57.92, 17.87, -54.00)
CIE-LCHlch(57.92, 56.88, 288.31°)
OKLaboklab(64.36% -0.0031 -0.1536)
OKLCHoklch(64.36% 0.154 268.8)
XYZxyz(28.9650, 25.8721, 81.2934)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786EA #EACB67
analogous
#67C7EA #6786EA #8967EA
triadic
#6786EA #EA6786 #86EA67
tetradic
#6786EA #EA67C7 #EACB67 #67EA89
square
#6786EA #EA67C7 #EACB67 #67EA89
split-complementary
#6786EA #EA8967 #C7EA67
monochromatic
#1A41BD #315BE3 #6786EA #9DB1F1 #D3DCF9

Accessibility & contrast

On white

3.40
#6786EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#6786EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786EA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786EA#FFFFFF#000000##000000
##6786EA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#0F9CAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6786ea;
/* rgb */ color: rgb(103, 134, 234);
/* oklch */ color: oklch(64.4% 0.154 268.8);
Tailwind
colors: {
  custom: {
    50: '#9ba8f1',
    500: '#6786ea',
    950: '#000000',
  },
}
SCSS
$custom: #6786ea;
$custom-light: #9ba8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6786ea",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 225.802,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64359,
    "c": 0.15363,
    "h": 268.8
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6786EA

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

Preview Lab → · Contrast checker → · Palette generator →

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