#6798F5#6798F5

#6798F5 is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.7% C 0.148 H 262.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6798F5
RGBrgb(103, 152, 245)
HSLhsl(219, 88%, 68%)
HSVhsv(219, 58%, 96%)
CMYKcmyk(58%, 38%, 0%, 3.9%)
CIE-LABlab(63.28, 10.73, -51.54)
CIE-LCHlch(63.28, 52.64, 281.76°)
OKLaboklab(68.69% -0.0201 -0.1462)
OKLCHoklch(68.69% 0.148 262.2)
XYZxyz(33.2975, 31.9298, 90.7769)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798F5 #F5C467
analogous
#67DFF5 #6798F5 #7D67F5
triadic
#6798F5 #F56798 #98F567
tetradic
#6798F5 #F567DF #F5C467 #67F57D
square
#6798F5 #F567DF #F5C467 #67F57D
split-complementary
#6798F5 #F57D67 #DFF567
monochromatic
#0E52D4 #2E71F1 #6798F5 #A0BFF9 #DAE6FD

Accessibility & contrast

On white

2.84
#6798F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#6798F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798F5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798F5#FFFFFF#000000##000000
##6798F51.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F9
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6798f5;
/* rgb */ color: rgb(103, 152, 245);
/* oklch */ color: oklch(68.7% 0.148 262.2);
Tailwind
colors: {
  custom: {
    50: '#9db5f9',
    500: '#6798f5',
    950: '#000000',
  },
}
SCSS
$custom: #6798f5;
$custom-light: #9db5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6798f5",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 219.296,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68687,
    "c": 0.14758,
    "h": 262.2
  },
  "luminance": 0.31933
}

Semantic roles & 50–950 ramp

primary
#6798F5
secondary
#F1E3C6
accent
#9601E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798F5

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

Preview Lab → · Contrast checker → · Palette generator →

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