#6797FC#6797FC

#6797FC is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.9% C 0.158 H 263.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6797FC
RGBrgb(103, 151, 252)
HSLhsl(221, 96%, 70%)
HSVhsv(221, 59%, 99%)
CMYKcmyk(59.1%, 40.1%, 0%, 1.2%)
CIE-LABlab(63.38, 13.57, -55.23)
CIE-LCHlch(63.38, 56.87, 283.81°)
OKLaboklab(68.88% -0.0176 -0.157)
OKLCHoklch(68.88% 0.158 263.6)
XYZxyz(34.2248, 32.0421, 96.4578)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797FC #FCCC67
analogous
#67E2FC #6797FC #8267FC
triadic
#6797FC #FC6797 #97FC67
tetradic
#6797FC #FC67E2 #FCCC67 #67FC82
square
#6797FC #FC67E2 #FCCC67 #67FC82
split-complementary
#6797FC #FC8267 #E2FC67
monochromatic
#054DE4 #2B6EFB #6797FC #A3C0FD #DFE9FE

Accessibility & contrast

On white

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

On black

7.41
#6797FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797FC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797FC#FFFFFF#000000##000000
##6797FC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6797fc;
/* rgb */ color: rgb(103, 151, 252);
/* oklch */ color: oklch(68.9% 0.158 263.6);
Tailwind
colors: {
  custom: {
    50: '#9eb5fe',
    500: '#6797fc',
    950: '#000000',
  },
}
SCSS
$custom: #6797fc;
$custom-light: #9eb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6797fc",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 220.671,
    "s": 96.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68876,
    "c": 0.158,
    "h": 263.6
  },
  "luminance": 0.32045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6797FC

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

Preview Lab → · Contrast checker → · Palette generator →

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