#6798E9#6798E9

#6798E9 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.132 H 260.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6798E9
RGBrgb(103, 152, 233)
HSLhsl(217, 75%, 66%)
HSVhsv(217, 56%, 91%)
CMYKcmyk(55.8%, 34.8%, 0%, 8.6%)
CIE-LABlab(62.69, 6.91, -45.87)
CIE-LCHlch(62.69, 46.39, 278.57°)
OKLaboklab(68.03% -0.0228 -0.1297)
OKLCHoklch(68.03% 0.132 260)
XYZxyz(31.5247, 31.2207, 81.4399)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798E9 #E9B867
analogous
#67D9E9 #6798E9 #7767E9
triadic
#6798E9 #E96798 #98E967
tetradic
#6798E9 #E967D9 #E9B867 #67E977
square
#6798E9 #E967D9 #E9B867 #67E977
split-complementary
#6798E9 #E97767 #D9E967
monochromatic
#1B57BB #3274E1 #6798E9 #9CBCF1 #D2E0F8

Accessibility & contrast

On white

2.90
#6798E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#6798E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798E9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798E9#FFFFFF#000000##000000
##6798E91.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEC
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#02AAB6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6798e9;
/* rgb */ color: rgb(103, 152, 233);
/* oklch */ color: oklch(68.0% 0.132 260.0);
Tailwind
colors: {
  custom: {
    50: '#9bb6f0',
    500: '#6798e9',
    950: '#000000',
  },
}
SCSS
$custom: #6798e9;
$custom-light: #9bb6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6798e9",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 233
  },
  "hsl": {
    "h": 217.385,
    "s": 74.713,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68034,
    "c": 0.13166,
    "h": 260
  },
  "luminance": 0.31223
}

Semantic roles & 50–950 ramp

primary
#6798E9
secondary
#EBDBC0
accent
#8B0FD7
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1116
muted
#7F8084

Preview Lab

Preview with #6798E9

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

Preview Lab → · Contrast checker → · Palette generator →

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