#6797FF#6797FF

#6797FF is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.0% C 0.162 H 264.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6797FF
RGBrgb(103, 151, 255)
HSLhsl(221, 100%, 70%)
HSVhsv(221, 60%, 100%)
CMYKcmyk(59.6%, 40.8%, 0%, 0%)
CIE-LABlab(63.54, 14.54, -56.61)
CIE-LCHlch(63.54, 58.45, 284.41°)
OKLaboklab(69.05% -0.017 -0.1611)
OKLCHoklch(69.05% 0.162 264)
XYZxyz(34.7039, 32.2338, 98.9813)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797FF #FFCF67
analogous
#67E3FF #6797FF #8367FF
triadic
#6797FF #FF6797 #97FF67
tetradic
#6797FF #FF67E3 #FFCF67 #67FF83
square
#6797FF #FF67E3 #FFCF67 #67FF83
split-complementary
#6797FF #FF8367 #E3FF67
monochromatic
#004AEC #2A6DFF #6797FF #A4C1FF #E0EAFF

Accessibility & contrast

On white

2.82
#6797FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#6797FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797FF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797FF#FFFFFF#000000##000000
##6797FF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#5493FD
Tritanopia (blue-blind)
#00AEBF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6797ff;
/* rgb */ color: rgb(103, 151, 255);
/* oklch */ color: oklch(69.0% 0.162 264.0);
Tailwind
colors: {
  custom: {
    50: '#9eb5ff',
    500: '#6797ff',
    950: '#000000',
  },
}
SCSS
$custom: #6797ff;
$custom-light: #9eb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6797ff",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 221.053,
    "s": 100,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69049,
    "c": 0.16199,
    "h": 264
  },
  "luminance": 0.32237
}

Semantic roles & 50–950 ramp

primary
#6797FF
secondary
#F6E9CC
accent
#9D00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6797FF

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

Preview Lab → · Contrast checker → · Palette generator →

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