#6796FE#6796FE

#6796FE is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.8% C 0.162 H 264.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6796FE
RGBrgb(103, 150, 254)
HSLhsl(221, 99%, 70%)
HSVhsv(221, 59%, 100%)
CMYKcmyk(59.4%, 40.9%, 0%, 0.4%)
CIE-LABlab(63.22, 14.81, -56.57)
CIE-LCHlch(63.22, 58.48, 284.67°)
OKLaboklab(68.79% -0.0162 -0.161)
OKLCHoklch(68.79% 0.162 264.3)
XYZxyz(34.3831, 31.8491, 98.0823)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796FE #FECF67
analogous
#67E1FE #6796FE #8467FE
triadic
#6796FE #FE6796 #96FE67
tetradic
#6796FE #FE67E1 #FECF67 #67FE84
square
#6796FE #FE67E1 #FECF67 #67FE84
split-complementary
#6796FE #FE8467 #E1FE67
monochromatic
#024AE9 #2A6CFE #6796FE #A4C0FE #E1EAFF

Accessibility & contrast

On white

2.85
#6796FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#6796FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796FE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796FE#FFFFFF#000000##000000
##6796FE1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#5393FC
Tritanopia (blue-blind)
#00ADBE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6796fe;
/* rgb */ color: rgb(103, 150, 254);
/* oklch */ color: oklch(68.8% 0.162 264.3);
Tailwind
colors: {
  custom: {
    50: '#9eb4ff',
    500: '#6796fe',
    950: '#000000',
  },
}
SCSS
$custom: #6796fe;
$custom-light: #9eb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6796fe",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 221.325,
    "s": 98.693,
    "l": 70
  },
  "oklch": {
    "l": 0.68787,
    "c": 0.16179,
    "h": 264.3
  },
  "luminance": 0.31852
}

Semantic roles & 50–950 ramp

primary
#6796FE
secondary
#F6E8CB
accent
#9E00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6796FE

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

Preview Lab → · Contrast checker → · Palette generator →

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