#6798F1#6798F1

#6798F1 is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.142 H 261.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6798F1
RGBrgb(103, 152, 241)
HSLhsl(219, 83%, 67%)
HSVhsv(219, 57%, 95%)
CMYKcmyk(57.3%, 36.9%, 0%, 5.5%)
CIE-LABlab(63.08, 9.45, -49.66)
CIE-LCHlch(63.08, 50.55, 280.77°)
OKLaboklab(68.47% -0.0209 -0.1407)
OKLCHoklch(68.47% 0.142 261.5)
XYZxyz(32.6935, 31.6882, 87.5956)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798F1 #F1C067
analogous
#67DDF1 #6798F1 #7B67F1
triadic
#6798F1 #F16798 #98F167
tetradic
#6798F1 #F167DD #F1C067 #67F17B
square
#6798F1 #F167DD #F1C067 #67F17B
split-complementary
#6798F1 #F17B67 #DDF167
monochromatic
#1354CB #2F72EC #6798F1 #9FBEF6 #D7E4FB

Accessibility & contrast

On white

2.86
#6798F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#6798F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798F1
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798F1#FFFFFF#000000##000000
##6798F11.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F5
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6798f1;
/* rgb */ color: rgb(103, 152, 241);
/* oklch */ color: oklch(68.5% 0.142 261.5);
Tailwind
colors: {
  custom: {
    50: '#9cb5f6',
    500: '#6798f1',
    950: '#000000',
  },
}
SCSS
$custom: #6798f1;
$custom-light: #9cb5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6798f1",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 218.696,
    "s": 83.133,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68466,
    "c": 0.14227,
    "h": 261.5
  },
  "luminance": 0.31691
}

Semantic roles & 50–950 ramp

primary
#6798F1
secondary
#EFE0C4
accent
#9206E0
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798F1

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

Preview Lab → · Contrast checker → · Palette generator →

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