#6797F6#6797F6

#6797F6 is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.150 H 262.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6797F6
RGBrgb(103, 151, 246)
HSLhsl(220, 89%, 68%)
HSVhsv(220, 58%, 96%)
CMYKcmyk(58.1%, 38.6%, 0%, 3.5%)
CIE-LABlab(63.07, 11.64, -52.43)
CIE-LCHlch(63.07, 53.71, 282.51°)
OKLaboklab(68.54% -0.0188 -0.1488)
OKLCHoklch(68.54% 0.15 262.8)
XYZxyz(33.2889, 31.6678, 91.5292)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797F6 #F6C667
analogous
#67DFF6 #6797F6 #7E67F6
triadic
#6797F6 #F66797 #97F667
tetradic
#6797F6 #F667DF #F6C667 #67F67E
square
#6797F6 #F667DF #F6C667 #67F67E
split-complementary
#6797F6 #F67E67 #DFF667
monochromatic
#0D50D6 #2D6FF3 #6797F6 #A1BFF9 #DBE6FD

Accessibility & contrast

On white

2.86
#6797F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#6797F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797F6
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797F6#FFFFFF#000000##000000
##6797F61.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FA
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6797f6;
/* rgb */ color: rgb(103, 151, 246);
/* oklch */ color: oklch(68.5% 0.150 262.8);
Tailwind
colors: {
  custom: {
    50: '#9db5f9',
    500: '#6797f6',
    950: '#000000',
  },
}
SCSS
$custom: #6797f6;
$custom-light: #9db5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6797f6",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 246
  },
  "hsl": {
    "h": 219.86,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68535,
    "c": 0.15002,
    "h": 262.8
  },
  "luminance": 0.31671
}

Semantic roles & 50–950 ramp

primary
#6797F6
secondary
#F2E3C7
accent
#9800E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6797F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6797F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva