#6798FA#6798FA

#6798FA is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.0% C 0.154 H 262.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6798FA
RGBrgb(103, 152, 250)
HSLhsl(220, 94%, 69%)
HSVhsv(220, 59%, 98%)
CMYKcmyk(58.8%, 39.2%, 0%, 2%)
CIE-LABlab(63.54, 12.34, -53.87)
CIE-LCHlch(63.54, 55.27, 282.90°)
OKLaboklab(68.97% -0.019 -0.153)
OKLCHoklch(68.97% 0.154 262.9)
XYZxyz(34.0711, 32.2393, 94.8513)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798FA #FAC967
analogous
#67E2FA #6798FA #8067FA
triadic
#6798FA #FA6798 #98FA67
tetradic
#6798FA #FA67E2 #FAC967 #67FA80
square
#6798FA #FA67E2 #FAC967 #67FA80
split-complementary
#6798FA #FA8067 #E2FA67
monochromatic
#074FDF #2C70F8 #6798FA #A2C0FC #DEE8FE

Accessibility & contrast

On white

2.82
#6798FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#6798FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798FA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798FA#FFFFFF#000000##000000
##6798FA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#5A94F8
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6798fa;
/* rgb */ color: rgb(103, 152, 250);
/* oklch */ color: oklch(69.0% 0.154 262.9);
Tailwind
colors: {
  custom: {
    50: '#9db5fc',
    500: '#6798fa',
    950: '#000000',
  },
}
SCSS
$custom: #6798fa;
$custom-light: #9db5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6798fa",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 220,
    "s": 93.631,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68967,
    "c": 0.15423,
    "h": 262.9
  },
  "luminance": 0.32242
}

Semantic roles & 50–950 ramp

primary
#6798FA
secondary
#F4E6C9
accent
#9900E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798FA

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

Preview Lab → · Contrast checker → · Palette generator →

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