#6797FB#6797FB

#6797FB is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.8% C 0.157 H 263.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6797FB
RGBrgb(103, 151, 251)
HSLhsl(221, 95%, 69%)
HSVhsv(221, 59%, 98%)
CMYKcmyk(59%, 39.8%, 0%, 1.6%)
CIE-LABlab(63.33, 13.25, -54.76)
CIE-LCHlch(63.33, 56.34, 283.60°)
OKLaboklab(68.82% -0.0178 -0.1557)
OKLCHoklch(68.82% 0.157 263.5)
XYZxyz(34.0667, 31.9789, 95.6254)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797FB #FBCB67
analogous
#67E1FB #6797FB #8167FB
triadic
#6797FB #FB6797 #97FB67
tetradic
#6797FB #FB67E1 #FBCB67 #67FB81
square
#6797FB #FB67E1 #FBCB67 #67FB81
split-complementary
#6797FB #FB8167 #E1FB67
monochromatic
#064DE2 #2B6EF9 #6797FB #A3C0FD #DEE9FE

Accessibility & contrast

On white

2.84
#6797FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#6797FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797FB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797FB#FFFFFF#000000##000000
##6797FB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#00ADBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6797fb;
/* rgb */ color: rgb(103, 151, 251);
/* oklch */ color: oklch(68.8% 0.157 263.5);
Tailwind
colors: {
  custom: {
    50: '#9db5fd',
    500: '#6797fb',
    950: '#000000',
  },
}
SCSS
$custom: #6797fb;
$custom-light: #9db5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6797fb",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 220.541,
    "s": 94.872,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68818,
    "c": 0.15667,
    "h": 263.5
  },
  "luminance": 0.31982
}

Semantic roles & 50–950 ramp

primary
#6797FB
secondary
#F4E6CA
accent
#9B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6797FB

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

Preview Lab → · Contrast checker → · Palette generator →

#6797FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva