#6786F8#6786F8

#6786F8 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.2% C 0.173 H 269.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6786F8
RGBrgb(103, 134, 248)
HSLhsl(227, 91%, 69%)
HSVhsv(227, 58%, 97%)
CMYKcmyk(58.5%, 46%, 0%, 2.7%)
CIE-LABlab(58.70, 22.38, -60.49)
CIE-LCHlch(58.70, 64.50, 290.31°)
OKLaboklab(65.22% -0.001 -0.1727)
OKLCHoklch(65.22% 0.173 269.7)
XYZxyz(31.0562, 26.7086, 92.3074)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786F8 #F8D967
analogous
#67CFF8 #6786F8 #9167F8
triadic
#6786F8 #F86786 #86F867
tetradic
#6786F8 #F867CF #F8D967 #67F891
square
#6786F8 #F867CF #F8D967 #67F891
split-complementary
#6786F8 #F89167 #CFF867
monochromatic
#0A37DB #2C57F5 #6786F8 #A2B5FB #DCE3FD

Accessibility & contrast

On white

3.31
#6786F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#6786F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786F8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786F8#FFFFFF#000000##000000
##6786F81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#3987F6
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6786f8;
/* rgb */ color: rgb(103, 134, 248);
/* oklch */ color: oklch(65.2% 0.173 269.7);
Tailwind
colors: {
  custom: {
    50: '#9da8fb',
    500: '#6786f8',
    950: '#000000',
  },
}
SCSS
$custom: #6786f8;
$custom-light: #9da8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6786f8",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 227.172,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65217,
    "c": 0.17266,
    "h": 269.7
  },
  "luminance": 0.26711
}

Semantic roles & 50–950 ramp

primary
#6786F8
secondary
#F3EAC8
accent
#B400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6786F8

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

Preview Lab → · Contrast checker → · Palette generator →

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