#6798F9#6798F9

#6798F9 is a light, vivid blue. Relative luminance 0.322; OKLCH L 68.9% C 0.153 H 262.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6798F9
RGBrgb(103, 152, 249)
HSLhsl(220, 92%, 69%)
HSVhsv(220, 59%, 98%)
CMYKcmyk(58.6%, 39%, 0%, 2.4%)
CIE-LABlab(63.49, 12.02, -53.41)
CIE-LCHlch(63.49, 54.74, 282.68°)
OKLaboklab(68.91% -0.0192 -0.1517)
OKLCHoklch(68.91% 0.153 262.8)
XYZxyz(33.9147, 32.1767, 94.0277)
Luminance0.3218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798F9 #F9C867
analogous
#67E1F9 #6798F9 #7F67F9
triadic
#6798F9 #F96798 #98F967
tetradic
#6798F9 #F967E1 #F9C867 #67F97F
square
#6798F9 #F967E1 #F9C867 #67F97F
split-complementary
#6798F9 #F97F67 #E1F967
monochromatic
#0950DD #2C70F7 #6798F9 #A2C0FB #DDE8FE

Accessibility & contrast

On white

2.82
#6798F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#6798F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798F9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798F9#FFFFFF#000000##000000
##6798F91.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FD
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6798f9;
/* rgb */ color: rgb(103, 152, 249);
/* oklch */ color: oklch(68.9% 0.153 262.8);
Tailwind
colors: {
  custom: {
    50: '#9db5fc',
    500: '#6798f9',
    950: '#000000',
  },
}
SCSS
$custom: #6798f9;
$custom-light: #9db5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6798f9",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 219.863,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68911,
    "c": 0.15289,
    "h": 262.8
  },
  "luminance": 0.3218
}

Semantic roles & 50–950 ramp

primary
#6798F9
secondary
#F3E5C8
accent
#9800E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798F9

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

Preview Lab → · Contrast checker → · Palette generator →

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