#6796F8#6796F8

#6796F8 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.4% C 0.154 H 263.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6796F8
RGBrgb(103, 150, 248)
HSLhsl(221, 91%, 69%)
HSVhsv(221, 58%, 97%)
CMYKcmyk(58.5%, 39.5%, 0%, 2.7%)
CIE-LABlab(62.90, 12.87, -53.79)
CIE-LCHlch(62.90, 55.31, 283.45°)
OKLaboklab(68.44% -0.0174 -0.1528)
OKLCHoklch(68.44% 0.154 263.5)
XYZxyz(33.4373, 31.4708, 93.1011)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796F8 #F8C967
analogous
#67DEF8 #6796F8 #8167F8
triadic
#6796F8 #F86796 #96F867
tetradic
#6796F8 #F867DE #F8C967 #67F881
square
#6796F8 #F867DE #F8C967 #67F881
split-complementary
#6796F8 #F88167 #DEF867
monochromatic
#0A4EDB #2C6EF5 #6796F8 #A2BEFB #DCE7FD

Accessibility & contrast

On white

2.88
#6796F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#6796F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796F8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796F8#FFFFFF#000000##000000
##6796F81.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6796f8;
/* rgb */ color: rgb(103, 150, 248);
/* oklch */ color: oklch(68.4% 0.154 263.5);
Tailwind
colors: {
  custom: {
    50: '#9db4fb',
    500: '#6796f8',
    950: '#000000',
  },
}
SCSS
$custom: #6796f8;
$custom-light: #9db4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6796f8",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 220.552,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68441,
    "c": 0.1538,
    "h": 263.5
  },
  "luminance": 0.31474
}

Semantic roles & 50–950 ramp

primary
#6796F8
secondary
#F3E5C8
accent
#9B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6796F8

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

Preview Lab → · Contrast checker → · Palette generator →

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