#6796E4#6796E4

#6796E4 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.3% C 0.127 H 260.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6796E4
RGBrgb(103, 150, 228)
HSLhsl(217, 70%, 65%)
HSVhsv(217, 55%, 89%)
CMYKcmyk(54.8%, 34.2%, 0%, 10.6%)
CIE-LABlab(61.91, 6.50, -44.34)
CIE-LCHlch(61.91, 44.81, 278.34°)
OKLaboklab(67.35% -0.0219 -0.1252)
OKLCHoklch(67.35% 0.127 260.1)
XYZxyz(30.4986, 30.2953, 77.6241)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796E4 #E4B567
analogous
#67D4E4 #6796E4 #7767E4
triadic
#6796E4 #E46796 #96E467
tetradic
#6796E4 #E467D4 #E4B567 #67E477
square
#6796E4 #E467D4 #E4B567 #67E477
split-complementary
#6796E4 #E47767 #D4E467
monochromatic
#1F56B1 #3372DB #6796E4 #9BBAED #CFDEF6

Accessibility & contrast

On white

2.97
#6796E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#6796E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796E4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796E4#FFFFFF#000000##000000
##6796E41.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE7
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#16A7B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6796e4;
/* rgb */ color: rgb(103, 150, 228);
/* oklch */ color: oklch(67.3% 0.127 260.1);
Tailwind
colors: {
  custom: {
    50: '#9ab4ed',
    500: '#6796e4',
    950: '#000000',
  },
}
SCSS
$custom: #6796e4;
$custom-light: #9ab4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6796e4",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 228
  },
  "hsl": {
    "h": 217.44,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67345,
    "c": 0.12712,
    "h": 260.1
  },
  "luminance": 0.30298
}

Semantic roles & 50–950 ramp

primary
#6796E4
secondary
#E9D9BE
accent
#8A14D2
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1116
muted
#7E8084

Preview Lab

Preview with #6796E4

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

Preview Lab → · Contrast checker → · Palette generator →

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