#6798FD#6798FD

#6798FD is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.1% C 0.158 H 263.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6798FD
RGBrgb(103, 152, 253)
HSLhsl(220, 97%, 70%)
HSVhsv(220, 59%, 99%)
CMYKcmyk(59.3%, 39.9%, 0%, 0.8%)
CIE-LABlab(63.70, 13.31, -55.27)
CIE-LCHlch(63.70, 56.85, 283.54°)
OKLaboklab(69.14% -0.0184 -0.1571)
OKLCHoklch(69.14% 0.158 263.3)
XYZxyz(34.5453, 32.4289, 97.3484)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798FD #FDCC67
analogous
#67E3FD #6798FD #8167FD
triadic
#6798FD #FD6798 #98FD67
tetradic
#6798FD #FD67E3 #FDCC67 #67FD81
square
#6798FD #FD67E3 #FDCC67 #67FD81
split-complementary
#6798FD #FD8167 #E3FD67
monochromatic
#034DE7 #2B6FFC #6798FD #A3C1FE #E0EAFF

Accessibility & contrast

On white

2.81
#6798FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#6798FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798FD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798FD#FFFFFF#000000##000000
##6798FD1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6798fd;
/* rgb */ color: rgb(103, 152, 253);
/* oklch */ color: oklch(69.1% 0.158 263.3);
Tailwind
colors: {
  custom: {
    50: '#9eb5fe',
    500: '#6798fd',
    950: '#000000',
  },
}
SCSS
$custom: #6798fd;
$custom-light: #9eb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6798fd",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 220.4,
    "s": 97.403,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69138,
    "c": 0.15821,
    "h": 263.3
  },
  "luminance": 0.32432
}

Semantic roles & 50–950 ramp

primary
#6798FD
secondary
#F5E7CB
accent
#9B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6798FD

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

Preview Lab → · Contrast checker → · Palette generator →

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