#6798E8#6798E8

#6798E8 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.130 H 259.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6798E8
RGBrgb(103, 152, 232)
HSLhsl(217, 74%, 66%)
HSVhsv(217, 56%, 91%)
CMYKcmyk(55.6%, 34.5%, 0%, 9%)
CIE-LABlab(62.65, 6.59, -45.39)
CIE-LCHlch(62.65, 45.87, 278.26°)
OKLaboklab(67.98% -0.0231 -0.1283)
OKLCHoklch(67.98% 0.13 259.8)
XYZxyz(31.3822, 31.1637, 80.6897)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798E8 #E8B767
analogous
#67D9E8 #6798E8 #7667E8
triadic
#6798E8 #E86798 #98E867
tetradic
#6798E8 #E867D9 #E8B767 #67E876
square
#6798E8 #E867D9 #E8B767 #67E876
split-complementary
#6798E8 #E87667 #D9E867
monochromatic
#1C57B9 #3274E0 #6798E8 #9CBCF0 #D1E0F8

Accessibility & contrast

On white

2.90
#6798E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#6798E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798E8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798E8#FFFFFF#000000##000000
##6798E81.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEB
Deuteranopia (green-blind)
#6792E6
Tritanopia (blue-blind)
#06AAB5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6798e8;
/* rgb */ color: rgb(103, 152, 232);
/* oklch */ color: oklch(68.0% 0.130 259.8);
Tailwind
colors: {
  custom: {
    50: '#9bb6ef',
    500: '#6798e8',
    950: '#000000',
  },
}
SCSS
$custom: #6798e8;
$custom-light: #9bb6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6798e8",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 217.209,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67981,
    "c": 0.13033,
    "h": 259.8
  },
  "luminance": 0.31166
}

Semantic roles & 50–950 ramp

primary
#6798E8
secondary
#EBDBC0
accent
#8B10D6
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1116
muted
#7F8084

Preview Lab

Preview with #6798E8

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

Preview Lab → · Contrast checker → · Palette generator →

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