#6796F1#6796F1

#6796F1 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.0% C 0.144 H 262.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6796F1
RGBrgb(103, 150, 241)
HSLhsl(220, 83%, 67%)
HSVhsv(220, 57%, 95%)
CMYKcmyk(57.3%, 37.8%, 0%, 5.5%)
CIE-LABlab(62.55, 10.62, -50.51)
CIE-LCHlch(62.55, 51.62, 281.87°)
OKLaboklab(68.05% -0.0188 -0.1432)
OKLCHoklch(68.05% 0.144 262.5)
XYZxyz(32.3716, 31.0445, 87.4883)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6796F1 #F1C267
analogous
#67DBF1 #6796F1 #7D67F1
triadic
#6796F1 #F16796 #96F167
tetradic
#6796F1 #F167DB #F1C267 #67F17D
square
#6796F1 #F167DB #F1C267 #67F17D
split-complementary
#6796F1 #F17D67 #DBF167
monochromatic
#1351CB #2F6FEC #6796F1 #9FBDF6 #D7E3FB

Accessibility & contrast

On white

2.91
#6796F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#6796F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6796F1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6796F1#FFFFFF#000000##000000
##6796F11.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF5
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6796f1;
/* rgb */ color: rgb(103, 150, 241);
/* oklch */ color: oklch(68.0% 0.144 262.5);
Tailwind
colors: {
  custom: {
    50: '#9cb4f6',
    500: '#6796f1',
    950: '#000000',
  },
}
SCSS
$custom: #6796f1;
$custom-light: #9cb4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6796f1",
  "rgb": {
    "r": 103,
    "g": 150,
    "b": 241
  },
  "hsl": {
    "h": 219.565,
    "s": 83.133,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68048,
    "c": 0.14446,
    "h": 262.5
  },
  "luminance": 0.31047
}

Semantic roles & 50–950 ramp

primary
#6796F1
secondary
#EFE1C4
accent
#9506E0
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6796F1

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

Preview Lab → · Contrast checker → · Palette generator →

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