#6797E7#6797E7

#6797E7 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.130 H 260.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6797E7
RGBrgb(103, 151, 231)
HSLhsl(218, 73%, 65%)
HSVhsv(218, 55%, 91%)
CMYKcmyk(55.4%, 34.6%, 0%, 9.4%)
CIE-LABlab(62.32, 6.86, -45.35)
CIE-LCHlch(62.32, 45.86, 278.60°)
OKLaboklab(67.72% -0.0222 -0.1281)
OKLCHoklch(67.72% 0.13 260.2)
XYZxyz(31.0790, 30.7838, 79.8899)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797E7 #E7B767
analogous
#67D7E7 #6797E7 #7767E7
triadic
#6797E7 #E76797 #97E767
tetradic
#6797E7 #E767D7 #E7B767 #67E777
square
#6797E7 #E767D7 #E7B767 #67E777
split-complementary
#6797E7 #E77767 #D7E767
monochromatic
#1D57B7 #3273DF #6797E7 #9CBBEF #D1DFF8

Accessibility & contrast

On white

2.93
#6797E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#6797E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797E7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797E7#FFFFFF#000000##000000
##6797E71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEA
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#0CA9B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6797e7;
/* rgb */ color: rgb(103, 151, 231);
/* oklch */ color: oklch(67.7% 0.130 260.2);
Tailwind
colors: {
  custom: {
    50: '#9bb5ef',
    500: '#6797e7',
    950: '#000000',
  },
}
SCSS
$custom: #6797e7;
$custom-light: #9bb5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6797e7",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 217.5,
    "s": 72.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67716,
    "c": 0.13005,
    "h": 260.2
  },
  "luminance": 0.30786
}

Semantic roles & 50–950 ramp

primary
#6797E7
secondary
#EADABF
accent
#8B11D5
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1116
muted
#7F8084

Preview Lab

Preview with #6797E7

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

Preview Lab → · Contrast checker → · Palette generator →

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