#6797F4#6797F4

#6797F4 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.4% C 0.147 H 262.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6797F4
RGBrgb(103, 151, 244)
HSLhsl(220, 87%, 68%)
HSVhsv(220, 58%, 96%)
CMYKcmyk(57.8%, 38.1%, 0%, 4.3%)
CIE-LABlab(62.97, 10.99, -51.49)
CIE-LCHlch(62.97, 52.66, 282.05°)
OKLaboklab(68.42% -0.0192 -0.1461)
OKLCHoklch(68.42% 0.147 262.5)
XYZxyz(32.9836, 31.5457, 89.9212)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797F4 #F4C467
analogous
#67DEF4 #6797F4 #7D67F4
triadic
#6797F4 #F46797 #97F467
tetradic
#6797F4 #F467DE #F4C467 #67F47D
square
#6797F4 #F467DE #F4C467 #67F47D
split-complementary
#6797F4 #F47D67 #DEF467
monochromatic
#0F51D1 #2E70F0 #6797F4 #A0BEF8 #D9E5FC

Accessibility & contrast

On white

2.87
#6797F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#6797F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797F4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797F4#FFFFFF#000000##000000
##6797F41.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF8
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6797f4;
/* rgb */ color: rgb(103, 151, 244);
/* oklch */ color: oklch(68.4% 0.147 262.5);
Tailwind
colors: {
  custom: {
    50: '#9cb5f8',
    500: '#6797f4',
    950: '#000000',
  },
}
SCSS
$custom: #6797f4;
$custom-light: #9cb5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6797f4",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 219.574,
    "s": 86.503,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68423,
    "c": 0.14736,
    "h": 262.5
  },
  "luminance": 0.31548
}

Semantic roles & 50–950 ramp

primary
#6797F4
secondary
#F1E2C6
accent
#9702E3
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6797F4

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

Preview Lab → · Contrast checker → · Palette generator →

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