#6786FB#6786FB

#6786FB is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.4% C 0.177 H 269.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6786FB
RGBrgb(103, 134, 251)
HSLhsl(227, 95%, 69%)
HSVhsv(227, 59%, 98%)
CMYKcmyk(59%, 46.6%, 0%, 1.6%)
CIE-LABlab(58.88, 23.36, -61.86)
CIE-LCHlch(58.88, 66.12, 290.68°)
OKLaboklab(65.41% -0.0006 -0.1767)
OKLCHoklch(65.41% 0.177 269.8)
XYZxyz(31.5254, 26.8962, 94.7783)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786FB #FBDC67
analogous
#67D0FB #6786FB #9267FB
triadic
#6786FB #FB6786 #86FB67
tetradic
#6786FB #FB67D0 #FBDC67 #67FB92
square
#6786FB #FB67D0 #FBDC67 #67FB92
split-complementary
#6786FB #FB9267 #D0FB67
monochromatic
#0634E2 #2B57F9 #6786FB #A3B5FD #DEE5FE

Accessibility & contrast

On white

3.29
#6786FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#6786FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786FB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786FB#FFFFFF#000000##000000
##6786FB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#3587F9
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6786fb;
/* rgb */ color: rgb(103, 134, 251);
/* oklch */ color: oklch(65.4% 0.177 269.8);
Tailwind
colors: {
  custom: {
    50: '#9ea8fd',
    500: '#6786fb',
    950: '#000000',
  },
}
SCSS
$custom: #6786fb;
$custom-light: #9ea8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6786fb",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 227.432,
    "s": 94.872,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65406,
    "c": 0.1767,
    "h": 269.8
  },
  "luminance": 0.26899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6786FB

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

Preview Lab → · Contrast checker → · Palette generator →

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