#6797F7#6797F7

#6797F7 is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.6% C 0.151 H 262.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6797F7
RGBrgb(103, 151, 247)
HSLhsl(220, 90%, 69%)
HSVhsv(220, 58%, 97%)
CMYKcmyk(58.3%, 38.9%, 0%, 3.1%)
CIE-LABlab(63.12, 11.96, -52.90)
CIE-LCHlch(63.12, 54.23, 282.74°)
OKLaboklab(68.59% -0.0186 -0.1502)
OKLCHoklch(68.59% 0.151 262.9)
XYZxyz(33.4428, 31.7294, 92.3397)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797F7 #F7C767
analogous
#67DFF7 #6797F7 #7F67F7
triadic
#6797F7 #F76797 #97F767
tetradic
#6797F7 #F767DF #F7C767 #67F77F
square
#6797F7 #F767DF #F7C767 #67F77F
split-complementary
#6797F7 #F77F67 #DFF767
monochromatic
#0B50D8 #2D6FF4 #6797F7 #A1BFFA #DBE7FD

Accessibility & contrast

On white

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

On black

7.35
#6797F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797F7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797F7#FFFFFF#000000##000000
##6797F71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6797f7;
/* rgb */ color: rgb(103, 151, 247);
/* oklch */ color: oklch(68.6% 0.151 262.9);
Tailwind
colors: {
  custom: {
    50: '#9db5fa',
    500: '#6797f7',
    950: '#000000',
  },
}
SCSS
$custom: #6797f7;
$custom-light: #9db5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6797f7",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 220,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68591,
    "c": 0.15136,
    "h": 262.9
  },
  "luminance": 0.31732
}

Semantic roles & 50–950 ramp

primary
#6797F7
secondary
#F2E4C7
accent
#9900E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6797F7

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

Preview Lab → · Contrast checker → · Palette generator →

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