#6798EB#6798EB

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

Color values

HEX#6798EB
RGBrgb(103, 152, 235)
HSLhsl(218, 77%, 66%)
HSVhsv(218, 56%, 92%)
CMYKcmyk(56.2%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.79, 7.54, -46.82)
CIE-LCHlch(62.79, 47.42, 279.15°)
OKLaboklab(68.14% -0.0223 -0.1324)
OKLCHoklch(68.14% 0.134 260.4)
XYZxyz(31.8120, 31.3356, 82.9531)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798EB #EBBA67
analogous
#67DAEB #6798EB #7867EB
triadic
#6798EB #EB6798 #98EB67
tetradic
#6798EB #EB67DA #EBBA67 #67EB78
square
#6798EB #EB67DA #EBBA67 #67EB78
split-complementary
#6798EB #EB7867 #DAEB67
monochromatic
#1956BF #3173E4 #6798EB #9DBDF2 #D3E1F9

Accessibility & contrast

On white

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

On black

7.27
#6798EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798EB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798EB#FFFFFF#000000##000000
##6798EB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEE
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6798eb;
/* rgb */ color: rgb(103, 152, 235);
/* oklch */ color: oklch(68.1% 0.134 260.4);
Tailwind
colors: {
  custom: {
    50: '#9bb5f2',
    500: '#6798eb',
    950: '#000000',
  },
}
SCSS
$custom: #6798eb;
$custom-light: #9bb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6798eb",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 217.727,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68141,
    "c": 0.1343,
    "h": 260.4
  },
  "luminance": 0.31338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6798EB

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

Preview Lab → · Contrast checker → · Palette generator →

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