#6797E5#6797E5

#6797E5 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.6% C 0.127 H 259.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6797E5
RGBrgb(103, 151, 229)
HSLhsl(217, 71%, 65%)
HSVhsv(217, 55%, 90%)
CMYKcmyk(55%, 34.1%, 0%, 10.2%)
CIE-LABlab(62.23, 6.23, -44.39)
CIE-LCHlch(62.23, 44.82, 277.99°)
OKLaboklab(67.61% -0.0227 -0.1254)
OKLCHoklch(67.61% 0.127 259.7)
XYZxyz(30.7981, 30.6715, 78.4108)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797E5 #E5B567
analogous
#67D6E5 #6797E5 #7667E5
triadic
#6797E5 #E56797 #97E567
tetradic
#6797E5 #E567D6 #E5B567 #67E576
square
#6797E5 #E567D6 #E5B567 #67E576
split-complementary
#6797E5 #E57667 #D6E567
monochromatic
#1F57B3 #3373DC #6797E5 #9BBBEE #D0DFF7

Accessibility & contrast

On white

2.94
#6797E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#6797E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797E5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797E5#FFFFFF#000000##000000
##6797E51.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DE8
Deuteranopia (green-blind)
#6891E3
Tritanopia (blue-blind)
#13A8B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6797e5;
/* rgb */ color: rgb(103, 151, 229);
/* oklch */ color: oklch(67.6% 0.127 259.7);
Tailwind
colors: {
  custom: {
    50: '#9bb5ed',
    500: '#6797e5',
    950: '#000000',
  },
}
SCSS
$custom: #6797e5;
$custom-light: #9bb5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6797e5",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 229
  },
  "hsl": {
    "h": 217.143,
    "s": 70.787,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6761,
    "c": 0.1274,
    "h": 259.7
  },
  "luminance": 0.30674
}

Semantic roles & 50–950 ramp

primary
#6797E5
secondary
#E9D9BF
accent
#8A13D3
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1116
muted
#7F8084

Preview Lab

Preview with #6797E5

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

Preview Lab → · Contrast checker → · Palette generator →

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