#6797F9#6797F9

#6797F9 is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.7% C 0.154 H 263.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6797F9
RGBrgb(103, 151, 249)
HSLhsl(220, 92%, 69%)
HSVhsv(220, 59%, 98%)
CMYKcmyk(58.6%, 39.4%, 0%, 2.4%)
CIE-LABlab(63.22, 12.60, -53.83)
CIE-LCHlch(63.22, 55.29, 283.18°)
OKLaboklab(68.7% -0.0182 -0.1529)
OKLCHoklch(68.7% 0.154 263.2)
XYZxyz(33.7531, 31.8535, 93.9738)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797F9 #F9C967
analogous
#67E0F9 #6797F9 #8067F9
triadic
#6797F9 #F96797 #97F967
tetradic
#6797F9 #F967E0 #F9C967 #67F980
square
#6797F9 #F967E0 #F9C967 #67F980
split-complementary
#6797F9 #F98067 #E0F967
monochromatic
#094EDD #2C6FF7 #6797F9 #A2BFFB #DDE8FE

Accessibility & contrast

On white

2.85
#6797F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#6797F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797F9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797F9#FFFFFF#000000##000000
##6797F91.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FD
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6797f9;
/* rgb */ color: rgb(103, 151, 249);
/* oklch */ color: oklch(68.7% 0.154 263.2);
Tailwind
colors: {
  custom: {
    50: '#9db5fc',
    500: '#6797f9',
    950: '#000000',
  },
}
SCSS
$custom: #6797f9;
$custom-light: #9db5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6797f9",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 220.274,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68704,
    "c": 0.15402,
    "h": 263.2
  },
  "luminance": 0.31856
}

Semantic roles & 50–950 ramp

primary
#6797F9
secondary
#F3E5C8
accent
#9A00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6797F9

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

Preview Lab → · Contrast checker → · Palette generator →

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