#6786FA#6786FA

#6786FA is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.3% C 0.175 H 269.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6786FA
RGBrgb(103, 134, 250)
HSLhsl(227, 94%, 69%)
HSVhsv(227, 59%, 98%)
CMYKcmyk(58.8%, 46.4%, 0%, 2%)
CIE-LABlab(58.82, 23.03, -61.40)
CIE-LCHlch(58.82, 65.58, 290.56°)
OKLaboklab(65.34% -0.0007 -0.1753)
OKLCHoklch(65.34% 0.175 269.8)
XYZxyz(31.3682, 26.8333, 93.9503)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786FA #FADB67
analogous
#67D0FA #6786FA #9267FA
triadic
#6786FA #FA6786 #86FA67
tetradic
#6786FA #FA67D0 #FADB67 #67FA92
square
#6786FA #FA67D0 #FADB67 #67FA92
split-complementary
#6786FA #FA9267 #D0FA67
monochromatic
#0735DF #2C57F8 #6786FA #A2B5FC #DEE4FE

Accessibility & contrast

On white

3.30
#6786FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#6786FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786FA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786FA#FFFFFF#000000##000000
##6786FA1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#3687F8
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6786fa;
/* rgb */ color: rgb(103, 134, 250);
/* oklch */ color: oklch(65.3% 0.175 269.8);
Tailwind
colors: {
  custom: {
    50: '#9ea8fd',
    500: '#6786fa',
    950: '#000000',
  },
}
SCSS
$custom: #6786fa;
$custom-light: #9ea8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6786fa",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 227.347,
    "s": 93.631,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65343,
    "c": 0.17535,
    "h": 269.8
  },
  "luminance": 0.26836
}

Semantic roles & 50–950 ramp

primary
#6786FA
secondary
#F4EBC9
accent
#B500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #6786FA

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

Preview Lab → · Contrast checker → · Palette generator →

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