#6797E4#6797E4

#6797E4 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.6% C 0.126 H 259.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6797E4
RGBrgb(103, 151, 228)
HSLhsl(217, 70%, 65%)
HSVhsv(217, 55%, 89%)
CMYKcmyk(54.8%, 33.8%, 0%, 10.6%)
CIE-LABlab(62.18, 5.92, -43.91)
CIE-LCHlch(62.18, 44.31, 277.67°)
OKLaboklab(67.56% -0.023 -0.124)
OKLCHoklch(67.56% 0.126 259.5)
XYZxyz(30.6589, 30.6158, 77.6776)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797E4 #E4B467
analogous
#67D5E4 #6797E4 #7667E4
triadic
#6797E4 #E46797 #97E467
tetradic
#6797E4 #E467D5 #E4B467 #67E476
square
#6797E4 #E467D5 #E4B467 #67E476
split-complementary
#6797E4 #E47667 #D5E467
monochromatic
#1F57B1 #3373DB #6797E4 #9BBBED #CFDEF6

Accessibility & contrast

On white

2.95
#6797E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#6797E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797E4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797E4#FFFFFF#000000##000000
##6797E41.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE7
Deuteranopia (green-blind)
#6891E2
Tritanopia (blue-blind)
#16A8B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6797e4;
/* rgb */ color: rgb(103, 151, 228);
/* oklch */ color: oklch(67.6% 0.126 259.5);
Tailwind
colors: {
  custom: {
    50: '#9ab5ed',
    500: '#6797e4',
    950: '#000000',
  },
}
SCSS
$custom: #6797e4;
$custom-light: #9ab5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6797e4",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 216.96,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.12607,
    "h": 259.5
  },
  "luminance": 0.30618
}

Semantic roles & 50–950 ramp

primary
#6797E4
secondary
#E9D8BE
accent
#8914D2
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1116
muted
#7E8084

Preview Lab

Preview with #6797E4

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

Preview Lab → · Contrast checker → · Palette generator →

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