#6786F5#6786F5

#6786F5 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.0% C 0.169 H 269.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6786F5
RGBrgb(103, 134, 245)
HSLhsl(227, 88%, 68%)
HSVhsv(227, 58%, 96%)
CMYKcmyk(58%, 45.3%, 0%, 3.9%)
CIE-LABlab(58.53, 21.41, -59.11)
CIE-LCHlch(58.53, 62.87, 289.91°)
OKLaboklab(65.03% -0.0014 -0.1686)
OKLCHoklch(65.03% 0.169 269.5)
XYZxyz(30.5945, 26.5239, 89.8759)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6786F5 #F5D667
analogous
#67CDF5 #6786F5 #8F67F5
triadic
#6786F5 #F56786 #86F567
tetradic
#6786F5 #F567CD #F5D667 #67F58F
square
#6786F5 #F567CD #F5D667 #67F58F
split-complementary
#6786F5 #F58F67 #CDF567
monochromatic
#0E39D4 #2E58F1 #6786F5 #A0B4F9 #DAE1FD

Accessibility & contrast

On white

3.33
#6786F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#6786F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6786F5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6786F5#FFFFFF#000000##000000
##6786F51.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#3D87F3
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6786f5;
/* rgb */ color: rgb(103, 134, 245);
/* oklch */ color: oklch(65.0% 0.169 269.5);
Tailwind
colors: {
  custom: {
    50: '#9da8f9',
    500: '#6786f5',
    950: '#000000',
  },
}
SCSS
$custom: #6786f5;
$custom-light: #9da8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6786f5",
  "rgb": {
    "r": 103,
    "g": 134,
    "b": 245
  },
  "hsl": {
    "h": 226.901,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6503,
    "c": 0.16862,
    "h": 269.5
  },
  "luminance": 0.26526
}

Semantic roles & 50–950 ramp

primary
#6786F5
secondary
#F1E8C6
accent
#B301E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6786F5

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

Preview Lab → · Contrast checker → · Palette generator →

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