#6798F6#6798F6

#6798F6 is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.7% C 0.149 H 262.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6798F6
RGBrgb(103, 152, 246)
HSLhsl(219, 89%, 68%)
HSVhsv(219, 58%, 96%)
CMYKcmyk(58.1%, 38.2%, 0%, 3.5%)
CIE-LABlab(63.34, 11.05, -52.01)
CIE-LCHlch(63.34, 53.17, 282.00°)
OKLaboklab(68.74% -0.0199 -0.1476)
OKLCHoklch(68.74% 0.149 262.3)
XYZxyz(33.4506, 31.9910, 91.5830)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798F6 #F6C567
analogous
#67DFF6 #6798F6 #7D67F6
triadic
#6798F6 #F66798 #98F667
tetradic
#6798F6 #F667DF #F6C567 #67F67D
square
#6798F6 #F667DF #F6C567 #67F67D
split-complementary
#6798F6 #F67D67 #DFF667
monochromatic
#0D52D6 #2D71F3 #6798F6 #A1BFF9 #DBE6FD

Accessibility & contrast

On white

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

On black

7.40
#6798F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798F6
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798F6#FFFFFF#000000##000000
##6798F61.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0FA
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6798f6;
/* rgb */ color: rgb(103, 152, 246);
/* oklch */ color: oklch(68.7% 0.149 262.3);
Tailwind
colors: {
  custom: {
    50: '#9db5f9',
    500: '#6798f6',
    950: '#000000',
  },
}
SCSS
$custom: #6798f6;
$custom-light: #9db5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6798f6",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 246
  },
  "hsl": {
    "h": 219.441,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68742,
    "c": 0.14891,
    "h": 262.3
  },
  "luminance": 0.31994
}

Semantic roles & 50–950 ramp

primary
#6798F6
secondary
#F2E3C7
accent
#9700E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798F6

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

Preview Lab → · Contrast checker → · Palette generator →

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