#6798FF#6798FF

#6798FF is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.3% C 0.161 H 263.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6798FF
RGBrgb(103, 152, 255)
HSLhsl(221, 100%, 70%)
HSVhsv(221, 60%, 100%)
CMYKcmyk(59.6%, 40.4%, 0%, 0%)
CIE-LABlab(63.80, 13.95, -56.19)
CIE-LCHlch(63.80, 57.90, 283.95°)
OKLaboklab(69.25% -0.018 -0.1598)
OKLCHoklch(69.25% 0.161 263.6)
XYZxyz(34.8655, 32.5570, 99.0351)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798FF #FFCE67
analogous
#67E4FF #6798FF #8267FF
triadic
#6798FF #FF6798 #98FF67
tetradic
#6798FF #FF67E4 #FFCE67 #67FF82
square
#6798FF #FF67E4 #FFCE67 #67FF82
split-complementary
#6798FF #FF8267 #E4FF67
monochromatic
#004CEC #2A6FFF #6798FF #A4C1FF #E0EAFF

Accessibility & contrast

On white

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

On black

7.51
#6798FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798FF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798FF#FFFFFF#000000##000000
##6798FF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6798ff;
/* rgb */ color: rgb(103, 152, 255);
/* oklch */ color: oklch(69.3% 0.161 263.6);
Tailwind
colors: {
  custom: {
    50: '#9eb5ff',
    500: '#6798ff',
    950: '#000000',
  },
}
SCSS
$custom: #6798ff;
$custom-light: #9eb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6798ff",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 220.658,
    "s": 100,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69253,
    "c": 0.16085,
    "h": 263.6
  },
  "luminance": 0.3256
}

Semantic roles & 50–950 ramp

primary
#6798FF
secondary
#F6E8CC
accent
#9C00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6798FF

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

Preview Lab → · Contrast checker → · Palette generator →

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