#6798F4#6798F4

#6798F4 is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.6% C 0.146 H 262.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6798F4
RGBrgb(103, 152, 244)
HSLhsl(219, 87%, 68%)
HSVhsv(219, 58%, 96%)
CMYKcmyk(57.8%, 37.7%, 0%, 4.3%)
CIE-LABlab(63.23, 10.41, -51.07)
CIE-LCHlch(63.23, 52.12, 281.52°)
OKLaboklab(68.63% -0.0203 -0.1448)
OKLCHoklch(68.63% 0.146 262)
XYZxyz(33.1452, 31.8689, 89.9750)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798F4 #F4C367
analogous
#67DEF4 #6798F4 #7C67F4
triadic
#6798F4 #F46798 #98F467
tetradic
#6798F4 #F467DE #F4C367 #67F47C
square
#6798F4 #F467DE #F4C367 #67F47C
split-complementary
#6798F4 #F47C67 #DEF467
monochromatic
#0F53D1 #2E71F0 #6798F4 #A0BFF8 #D9E5FC

Accessibility & contrast

On white

2.85
#6798F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#6798F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6798F4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798F4#FFFFFF#000000##000000
##6798F41.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F8
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6798f4;
/* rgb */ color: rgb(103, 152, 244);
/* oklch */ color: oklch(68.6% 0.146 262.0);
Tailwind
colors: {
  custom: {
    50: '#9cb5f8',
    500: '#6798f4',
    950: '#000000',
  },
}
SCSS
$custom: #6798f4;
$custom-light: #9cb5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6798f4",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 244
  },
  "hsl": {
    "h": 219.149,
    "s": 86.503,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68631,
    "c": 0.14625,
    "h": 262
  },
  "luminance": 0.31872
}

Semantic roles & 50–950 ramp

primary
#6798F4
secondary
#F1E2C6
accent
#9502E3
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6798F4

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

Preview Lab → · Contrast checker → · Palette generator →

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