#6796F6#6796F6

#6796F6 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.151 H 263.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6796F6
RGBrgb(103, 150, 246)
HSLhsl(220, 89%, 68%)
HSVhsv(220, 58%, 96%)
CMYKcmyk(58.1%, 39%, 0%, 3.5%)
CIE-LABlab(62.80, 12.22, -52.86)
CIE-LCHlch(62.80, 54.25, 283.02°)
OKLaboklab(68.33% -0.0178 -0.1501)
OKLCHoklch(68.33% 0.151 263.2)
XYZxyz(33.1287, 31.3473, 91.4757)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796F6 #F6C767
analogous
#67DDF6 #6796F6 #7F67F6
triadic
#6796F6 #F66796 #96F667
tetradic
#6796F6 #F667DD #F6C767 #67F67F
square
#6796F6 #F667DD #F6C767 #67F67F
split-complementary
#6796F6 #F67F67 #DDF667
monochromatic
#0D4FD6 #2D6EF3 #6796F6 #A1BEF9 #DBE6FD

Accessibility & contrast

On white

2.89
#6796F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#6796F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796F6
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796F6#FFFFFF#000000##000000
##6796F61.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6796f6;
/* rgb */ color: rgb(103, 150, 246);
/* oklch */ color: oklch(68.3% 0.151 263.2);
Tailwind
colors: {
  custom: {
    50: '#9db4f9',
    500: '#6796f6',
    950: '#000000',
  },
}
SCSS
$custom: #6796f6;
$custom-light: #9db4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6796f6",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 246
  },
  "hsl": {
    "h": 220.28,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68328,
    "c": 0.15114,
    "h": 263.2
  },
  "luminance": 0.3135
}

Semantic roles & 50–950 ramp

primary
#6796F6
secondary
#F2E4C7
accent
#9A00E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6796F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6796F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva