#6798F7#6798F7

#6798F7 is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.8% C 0.150 H 262.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6798F7
RGBrgb(103, 152, 247)
HSLhsl(220, 90%, 69%)
HSVhsv(220, 58%, 97%)
CMYKcmyk(58.3%, 38.5%, 0%, 3.1%)
CIE-LABlab(63.39, 11.37, -52.47)
CIE-LCHlch(63.39, 53.69, 282.23°)
OKLaboklab(68.8% -0.0196 -0.1489)
OKLCHoklch(68.8% 0.15 262.5)
XYZxyz(33.6045, 32.0526, 92.3935)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798F7 #F7C667
analogous
#67E0F7 #6798F7 #7E67F7
triadic
#6798F7 #F76798 #98F767
tetradic
#6798F7 #F767E0 #F7C667 #67F77E
square
#6798F7 #F767E0 #F7C667 #67F77E
split-complementary
#6798F7 #F77E67 #E0F767
monochromatic
#0B51D8 #2D71F4 #6798F7 #A1BFFA #DBE7FD

Accessibility & contrast

On white

2.83
#6798F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#6798F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798F7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798F7#FFFFFF#000000##000000
##6798F71.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6798f7;
/* rgb */ color: rgb(103, 152, 247);
/* oklch */ color: oklch(68.8% 0.150 262.5);
Tailwind
colors: {
  custom: {
    50: '#9db5fa',
    500: '#6798f7',
    950: '#000000',
  },
}
SCSS
$custom: #6798f7;
$custom-light: #9db5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6798f7",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 219.583,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68798,
    "c": 0.15024,
    "h": 262.5
  },
  "luminance": 0.32055
}

Semantic roles & 50–950 ramp

primary
#6798F7
secondary
#F2E4C7
accent
#9700E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798F7

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

Preview Lab → · Contrast checker → · Palette generator →

#6798F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva