#6796DC#6796DC

#6796DC is a light, moderate blue. Relative luminance 0.299; OKLCH L 66.9% C 0.117 H 258.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6796DC
RGBrgb(103, 150, 220)
HSLhsl(216, 63%, 63%)
HSVhsv(216, 53%, 86%)
CMYKcmyk(53.2%, 31.8%, 0%, 13.7%)
CIE-LABlab(61.53, 4.00, -40.49)
CIE-LCHlch(61.53, 40.69, 275.64°)
OKLaboklab(66.93% -0.0239 -0.114)
OKLCHoklch(66.93% 0.117 258.1)
XYZxyz(29.4137, 29.8613, 71.9101)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796DC #DCAD67
analogous
#67D1DC #6796DC #7267DC
triadic
#6796DC #DC6796 #96DC67
tetradic
#6796DC #DC67D1 #DCAD67 #67DC72
square
#6796DC #DC67D1 #DCAD67 #67DC72
split-complementary
#6796DC #DC7267 #D1DC67
monochromatic
#2658A3 #3574D1 #6796DC #99B8E7 #CADBF3

Accessibility & contrast

On white

3.01
#6796DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#6796DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6796DC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796DC#FFFFFF#000000##000000
##6796DC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BDF
Deuteranopia (green-blind)
#6C90DB
Tritanopia (blue-blind)
#25A6AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6796dc;
/* rgb */ color: rgb(103, 150, 220);
/* oklch */ color: oklch(66.9% 0.117 258.1);
Tailwind
colors: {
  custom: {
    50: '#99b4e7',
    500: '#6796dc',
    950: '#000000',
  },
}
SCSS
$custom: #6796dc;
$custom-light: #99b4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6796dc",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 215.897,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66931,
    "c": 0.11651,
    "h": 258.1
  },
  "luminance": 0.29864
}

Semantic roles & 50–950 ramp

primary
#6796DC
secondary
#E4D3BB
accent
#841BCA
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #6796DC

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

Preview Lab → · Contrast checker → · Palette generator →

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