#6796EB#6796EB

#6796EB is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.7% C 0.136 H 261.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6796EB
RGBrgb(103, 150, 235)
HSLhsl(219, 77%, 66%)
HSVhsv(219, 56%, 92%)
CMYKcmyk(56.2%, 36.2%, 0%, 7.8%)
CIE-LABlab(62.25, 8.71, -47.68)
CIE-LCHlch(62.25, 48.47, 280.35°)
OKLaboklab(67.72% -0.0202 -0.1349)
OKLCHoklch(67.72% 0.136 261.5)
XYZxyz(31.4901, 30.6919, 82.8458)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796EB #EBBC67
analogous
#67D8EB #6796EB #7A67EB
triadic
#6796EB #EB6796 #96EB67
tetradic
#6796EB #EB67D8 #EBBC67 #67EB7A
square
#6796EB #EB67D8 #EBBC67 #67EB7A
split-complementary
#6796EB #EB7A67 #D8EB67
monochromatic
#1954BF #3171E4 #6796EB #9DBBF2 #D3E1F9

Accessibility & contrast

On white

2.94
#6796EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#6796EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796EB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796EB#FFFFFF#000000##000000
##6796EB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6796eb;
/* rgb */ color: rgb(103, 150, 235);
/* oklch */ color: oklch(67.7% 0.136 261.5);
Tailwind
colors: {
  custom: {
    50: '#9bb4f2',
    500: '#6796eb',
    950: '#000000',
  },
}
SCSS
$custom: #6796eb;
$custom-light: #9bb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6796eb",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 218.636,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.13645,
    "h": 261.5
  },
  "luminance": 0.30694
}

Semantic roles & 50–950 ramp

primary
#6796EB
secondary
#ECDDC1
accent
#900DD9
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6796EB

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

Preview Lab → · Contrast checker → · Palette generator →

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