#6797FD#6797FD

#6797FD is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.9% C 0.159 H 263.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6797FD
RGBrgb(103, 151, 253)
HSLhsl(221, 97%, 70%)
HSVhsv(221, 59%, 99%)
CMYKcmyk(59.3%, 40.3%, 0%, 0.8%)
CIE-LABlab(63.43, 13.89, -55.69)
CIE-LCHlch(63.43, 57.40, 284.01°)
OKLaboklab(68.93% -0.0174 -0.1584)
OKLCHoklch(68.93% 0.159 263.7)
XYZxyz(34.3836, 32.1057, 97.2945)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797FD #FDCD67
analogous
#67E2FD #6797FD #8267FD
triadic
#6797FD #FD6797 #97FD67
tetradic
#6797FD #FD67E2 #FDCD67 #67FD82
square
#6797FD #FD67E2 #FDCD67 #67FD82
split-complementary
#6797FD #FD8267 #E2FD67
monochromatic
#034CE7 #2B6EFC #6797FD #A3C0FE #E0EAFF

Accessibility & contrast

On white

2.83
#6797FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#6797FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797FD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797FD#FFFFFF#000000##000000
##6797FD1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#5693FB
Tritanopia (blue-blind)
#00AEBE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6797fd;
/* rgb */ color: rgb(103, 151, 253);
/* oklch */ color: oklch(68.9% 0.159 263.7);
Tailwind
colors: {
  custom: {
    50: '#9eb5fe',
    500: '#6797fd',
    950: '#000000',
  },
}
SCSS
$custom: #6797fd;
$custom-light: #9eb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6797fd",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 220.8,
    "s": 97.403,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.15933,
    "h": 263.7
  },
  "luminance": 0.32109
}

Semantic roles & 50–950 ramp

primary
#6797FD
secondary
#F5E8CB
accent
#9C00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6797FD

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

Preview Lab → · Contrast checker → · Palette generator →

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