#6797FA#6797FA

#6797FA is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.8% C 0.155 H 263.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6797FA
RGBrgb(103, 151, 250)
HSLhsl(220, 94%, 69%)
HSVhsv(220, 59%, 98%)
CMYKcmyk(58.8%, 39.6%, 0%, 2%)
CIE-LABlab(63.27, 12.93, -54.30)
CIE-LCHlch(63.27, 55.81, 283.39°)
OKLaboklab(68.76% -0.018 -0.1543)
OKLCHoklch(68.76% 0.155 263.3)
XYZxyz(33.9095, 31.9160, 94.7974)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797FA #FACA67
analogous
#67E1FA #6797FA #8167FA
triadic
#6797FA #FA6797 #97FA67
tetradic
#6797FA #FA67E1 #FACA67 #67FA81
square
#6797FA #FA67E1 #FACA67 #67FA81
split-complementary
#6797FA #FA8167 #E1FA67
monochromatic
#074EDF #2C6EF8 #6797FA #A2C0FC #DEE8FE

Accessibility & contrast

On white

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

On black

7.38
#6797FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797FA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797FA#FFFFFF#000000##000000
##6797FA1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FE
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6797fa;
/* rgb */ color: rgb(103, 151, 250);
/* oklch */ color: oklch(68.8% 0.155 263.3);
Tailwind
colors: {
  custom: {
    50: '#9db5fc',
    500: '#6797fa',
    950: '#000000',
  },
}
SCSS
$custom: #6797fa;
$custom-light: #9db5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6797fa",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 220.408,
    "s": 93.631,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68761,
    "c": 0.15535,
    "h": 263.3
  },
  "luminance": 0.31919
}

Semantic roles & 50–950 ramp

primary
#6797FA
secondary
#F4E6C9
accent
#9B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6797FA

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

Preview Lab → · Contrast checker → · Palette generator →

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