#6798EA#6798EA

#6798EA is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.1% C 0.133 H 260.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6798EA
RGBrgb(103, 152, 234)
HSLhsl(218, 76%, 66%)
HSVhsv(218, 56%, 92%)
CMYKcmyk(56%, 35%, 0%, 8.2%)
CIE-LABlab(62.74, 7.22, -46.34)
CIE-LCHlch(62.74, 46.90, 278.86°)
OKLaboklab(68.09% -0.0226 -0.131)
OKLCHoklch(68.09% 0.133 260.2)
XYZxyz(31.6679, 31.2780, 82.1944)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798EA #EAB967
analogous
#67DAEA #6798EA #7767EA
triadic
#6798EA #EA6798 #98EA67
tetradic
#6798EA #EA67DA #EAB967 #67EA77
square
#6798EA #EA67DA #EAB967 #67EA77
split-complementary
#6798EA #EA7767 #DAEA67
monochromatic
#1A57BD #3174E3 #6798EA #9DBCF1 #D3E1F9

Accessibility & contrast

On white

2.89
#6798EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#6798EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798EA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798EA#FFFFFF#000000##000000
##6798EA1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6798ea;
/* rgb */ color: rgb(103, 152, 234);
/* oklch */ color: oklch(68.1% 0.133 260.2);
Tailwind
colors: {
  custom: {
    50: '#9bb6f1',
    500: '#6798ea',
    950: '#000000',
  },
}
SCSS
$custom: #6798ea;
$custom-light: #9bb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6798ea",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 217.557,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68087,
    "c": 0.13297,
    "h": 260.2
  },
  "luminance": 0.31281
}

Semantic roles & 50–950 ramp

primary
#6798EA
secondary
#ECDCC1
accent
#8C0ED8
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798EA

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

Preview Lab → · Contrast checker → · Palette generator →

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