#6796F4#6796F4

#6796F4 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.2% C 0.148 H 263.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6796F4
RGBrgb(103, 150, 244)
HSLhsl(220, 87%, 68%)
HSVhsv(220, 58%, 96%)
CMYKcmyk(57.8%, 38.5%, 0%, 4.3%)
CIE-LABlab(62.70, 11.58, -51.92)
CIE-LCHlch(62.70, 53.20, 282.57°)
OKLaboklab(68.22% -0.0182 -0.1473)
OKLCHoklch(68.22% 0.148 263)
XYZxyz(32.8234, 31.2252, 89.8678)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796F4 #F4C567
analogous
#67DCF4 #6796F4 #7E67F4
triadic
#6796F4 #F46796 #96F467
tetradic
#6796F4 #F467DC #F4C567 #67F47E
square
#6796F4 #F467DC #F4C567 #67F47E
split-complementary
#6796F4 #F47E67 #DCF467
monochromatic
#0F50D1 #2E6FF0 #6796F4 #A0BDF8 #D9E5FC

Accessibility & contrast

On white

2.90
#6796F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#6796F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796F4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796F4#FFFFFF#000000##000000
##6796F41.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF8
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6796f4;
/* rgb */ color: rgb(103, 150, 244);
/* oklch */ color: oklch(68.2% 0.148 263.0);
Tailwind
colors: {
  custom: {
    50: '#9cb4f8',
    500: '#6796f4',
    950: '#000000',
  },
}
SCSS
$custom: #6796f4;
$custom-light: #9cb4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6796f4",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 244
  },
  "hsl": {
    "h": 220,
    "s": 86.503,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68215,
    "c": 0.14847,
    "h": 263
  },
  "luminance": 0.31228
}

Semantic roles & 50–950 ramp

primary
#6796F4
secondary
#F1E3C6
accent
#9802E3
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6796F4

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

Preview Lab → · Contrast checker → · Palette generator →

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