#6796EF#6796EF

#6796EF is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.9% C 0.142 H 262.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6796EF
RGBrgb(103, 150, 239)
HSLhsl(219, 81%, 67%)
HSVhsv(219, 57%, 94%)
CMYKcmyk(56.9%, 37.2%, 0%, 6.3%)
CIE-LABlab(62.44, 9.98, -49.57)
CIE-LCHlch(62.44, 50.56, 281.38°)
OKLaboklab(67.94% -0.0193 -0.1405)
OKLCHoklch(67.94% 0.142 262.2)
XYZxyz(32.0745, 30.9256, 85.9236)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796EF #EFC067
analogous
#67DAEF #6796EF #7C67EF
triadic
#6796EF #EF6796 #96EF67
tetradic
#6796EF #EF67DA #EFC067 #67EF7C
square
#6796EF #EF67DA #EFC067 #67EF7C
split-complementary
#6796EF #EF7C67 #DAEF67
monochromatic
#1552C7 #3070E9 #6796EF #9EBCF5 #D6E3FB

Accessibility & contrast

On white

2.92
#6796EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#6796EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796EF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796EF#FFFFFF#000000##000000
##6796EF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6796ef;
/* rgb */ color: rgb(103, 150, 239);
/* oklch */ color: oklch(67.9% 0.142 262.2);
Tailwind
colors: {
  custom: {
    50: '#9cb4f4',
    500: '#6796ef',
    950: '#000000',
  },
}
SCSS
$custom: #6796ef;
$custom-light: #9cb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6796ef",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 219.265,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67937,
    "c": 0.1418,
    "h": 262.2
  },
  "luminance": 0.30928
}

Semantic roles & 50–950 ramp

primary
#6796EF
secondary
#EEE0C3
accent
#9408DD
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6796EF

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

Preview Lab → · Contrast checker → · Palette generator →

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