#6786F9#6786F9

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

Color values

HEX#6786F9
RGBrgb(103, 134, 249)
HSLhsl(227, 92%, 69%)
HSVhsv(227, 59%, 98%)
CMYKcmyk(58.6%, 46.2%, 0%, 2.4%)
CIE-LABlab(58.76, 22.71, -60.95)
CIE-LCHlch(58.76, 65.04, 290.43°)
OKLaboklab(65.28% -0.0008 -0.174)
OKLCHoklch(65.28% 0.174 269.7)
XYZxyz(31.2118, 26.7708, 93.1267)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786F9 #F9DA67
analogous
#67CFF9 #6786F9 #9167F9
triadic
#6786F9 #F96786 #86F967
tetradic
#6786F9 #F967CF #F9DA67 #67F991
square
#6786F9 #F967CF #F9DA67 #67F991
split-complementary
#6786F9 #F99167 #CFF967
monochromatic
#0936DD #2C57F7 #6786F9 #A2B5FB #DDE4FE

Accessibility & contrast

On white

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

On black

6.35
#6786F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786F9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786F9#FFFFFF#000000##000000
##6786F91.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FD
Deuteranopia (green-blind)
#3887F7
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6786f9;
/* rgb */ color: rgb(103, 134, 249);
/* oklch */ color: oklch(65.3% 0.174 269.7);
Tailwind
colors: {
  custom: {
    50: '#9ea8fc',
    500: '#6786f9',
    950: '#000000',
  },
}
SCSS
$custom: #6786f9;
$custom-light: #9ea8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6786f9",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 227.26,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6528,
    "c": 0.17401,
    "h": 269.7
  },
  "luminance": 0.26773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6786F9

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

Preview Lab → · Contrast checker → · Palette generator →

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