#6798FE#6798FE

#6798FE is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.2% C 0.160 H 263.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6798FE
RGBrgb(103, 152, 254)
HSLhsl(221, 99%, 70%)
HSVhsv(221, 59%, 100%)
CMYKcmyk(59.4%, 40.2%, 0%, 0.4%)
CIE-LABlab(63.75, 13.63, -55.73)
CIE-LCHlch(63.75, 57.37, 283.74°)
OKLaboklab(69.2% -0.0182 -0.1585)
OKLCHoklch(69.2% 0.16 263.4)
XYZxyz(34.7050, 32.4928, 98.1896)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798FE #FECD67
analogous
#67E3FE #6798FE #8267FE
triadic
#6798FE #FE6798 #98FE67
tetradic
#6798FE #FE67E3 #FECD67 #67FE82
square
#6798FE #FE67E3 #FECD67 #67FE82
split-complementary
#6798FE #FE8267 #E3FE67
monochromatic
#024DE9 #2A6FFE #6798FE #A4C1FE #E1EAFF

Accessibility & contrast

On white

2.80
#6798FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#6798FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798FE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798FE#FFFFFF#000000##000000
##6798FE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#5694FC
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6798fe;
/* rgb */ color: rgb(103, 152, 254);
/* oklch */ color: oklch(69.2% 0.160 263.4);
Tailwind
colors: {
  custom: {
    50: '#9eb5ff',
    500: '#6798fe',
    950: '#000000',
  },
}
SCSS
$custom: #6798fe;
$custom-light: #9eb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6798fe",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 220.53,
    "s": 98.693,
    "l": 70
  },
  "oklch": {
    "l": 0.69196,
    "c": 0.15953,
    "h": 263.4
  },
  "luminance": 0.32496
}

Semantic roles & 50–950 ramp

primary
#6798FE
secondary
#F6E8CB
accent
#9B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6798FE

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

Preview Lab → · Contrast checker → · Palette generator →

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