#6796F5#6796F5

#6796F5 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.3% C 0.150 H 263.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6796F5
RGBrgb(103, 150, 245)
HSLhsl(220, 88%, 68%)
HSVhsv(220, 58%, 96%)
CMYKcmyk(58%, 38.8%, 0%, 3.9%)
CIE-LABlab(62.75, 11.90, -52.39)
CIE-LCHlch(62.75, 53.72, 282.80°)
OKLaboklab(68.27% -0.018 -0.1487)
OKLCHoklch(68.27% 0.15 263.1)
XYZxyz(32.9756, 31.2861, 90.6696)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796F5 #F5C667
analogous
#67DDF5 #6796F5 #7F67F5
triadic
#6796F5 #F56796 #96F567
tetradic
#6796F5 #F567DD #F5C667 #67F57F
square
#6796F5 #F567DD #F5C667 #67F57F
split-complementary
#6796F5 #F57F67 #DDF567
monochromatic
#0E4FD4 #2E6EF1 #6796F5 #A0BEF9 #DAE5FD

Accessibility & contrast

On white

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

On black

7.26
#6796F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796F5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796F5#FFFFFF#000000##000000
##6796F51.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6796f5;
/* rgb */ color: rgb(103, 150, 245);
/* oklch */ color: oklch(68.3% 0.150 263.1);
Tailwind
colors: {
  custom: {
    50: '#9db4f9',
    500: '#6796f5',
    950: '#000000',
  },
}
SCSS
$custom: #6796f5;
$custom-light: #9db4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6796f5",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 245
  },
  "hsl": {
    "h": 220.141,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.1498,
    "h": 263.1
  },
  "luminance": 0.31289
}

Semantic roles & 50–950 ramp

primary
#6796F5
secondary
#F1E3C6
accent
#9901E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6796F5

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

Preview Lab → · Contrast checker → · Palette generator →

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