#6786FD#6786FD

#6786FD is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.5% C 0.179 H 269.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6786FD
RGBrgb(103, 134, 253)
HSLhsl(228, 97%, 70%)
HSVhsv(228, 59%, 99%)
CMYKcmyk(59.3%, 47%, 0%, 0.8%)
CIE-LABlab(59.00, 24.01, -62.77)
CIE-LCHlch(59.00, 67.21, 290.93°)
OKLaboklab(65.53% -0.0003 -0.1794)
OKLCHoklch(65.53% 0.179 269.9)
XYZxyz(31.8423, 27.0230, 96.4474)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786FD #FDDE67
analogous
#67D1FD #6786FD #9367FD
triadic
#6786FD #FD6786 #86FD67
tetradic
#6786FD #FD67D1 #FDDE67 #67FD93
square
#6786FD #FD67D1 #FDDE67 #67FD93
split-complementary
#6786FD #FD9367 #D1FD67
monochromatic
#0332E7 #2B56FC #6786FD #A3B6FE #E0E6FF

Accessibility & contrast

On white

3.28
#6786FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#6786FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786FD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786FD#FFFFFF#000000##000000
##6786FD1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#3188FA
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6786fd;
/* rgb */ color: rgb(103, 134, 253);
/* oklch */ color: oklch(65.5% 0.179 269.9);
Tailwind
colors: {
  custom: {
    50: '#9ea8ff',
    500: '#6786fd',
    950: '#000000',
  },
}
SCSS
$custom: #6786fd;
$custom-light: #9ea8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6786fd",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 227.6,
    "s": 97.403,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65534,
    "c": 0.17938,
    "h": 269.9
  },
  "luminance": 0.27026
}

Semantic roles & 50–950 ramp

primary
#6786FD
secondary
#F5ECCB
accent
#B600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6786FD

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

Preview Lab → · Contrast checker → · Palette generator →

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