#6798EF#6798EF

#6798EF is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.140 H 261.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6798EF
RGBrgb(103, 152, 239)
HSLhsl(218, 81%, 67%)
HSVhsv(218, 57%, 94%)
CMYKcmyk(56.9%, 36.4%, 0%, 6.3%)
CIE-LABlab(62.99, 8.81, -48.71)
CIE-LCHlch(62.99, 49.51, 280.25°)
OKLaboklab(68.36% -0.0214 -0.138)
OKLCHoklch(68.36% 0.14 261.2)
XYZxyz(32.3964, 31.5694, 86.0309)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798EF #EFBE67
analogous
#67DCEF #6798EF #7A67EF
triadic
#6798EF #EF6798 #98EF67
tetradic
#6798EF #EF67DC #EFBE67 #67EF7A
square
#6798EF #EF67DC #EFBE67 #67EF7A
split-complementary
#6798EF #EF7A67 #DCEF67
monochromatic
#1555C7 #3072E9 #6798EF #9EBEF5 #D6E3FB

Accessibility & contrast

On white

2.87
#6798EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#6798EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798EF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798EF#FFFFFF#000000##000000
##6798EF1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#6293ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6798ef;
/* rgb */ color: rgb(103, 152, 239);
/* oklch */ color: oklch(68.4% 0.140 261.2);
Tailwind
colors: {
  custom: {
    50: '#9cb5f4',
    500: '#6798ef',
    950: '#000000',
  },
}
SCSS
$custom: #6798ef;
$custom-light: #9cb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6798ef",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 218.382,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68357,
    "c": 0.13961,
    "h": 261.2
  },
  "luminance": 0.31572
}

Semantic roles & 50–950 ramp

primary
#6798EF
secondary
#EEDFC3
accent
#9108DD
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798EF

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

Preview Lab → · Contrast checker → · Palette generator →

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