#6797DC#6797DC

#6797DC is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.1% C 0.116 H 257.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6797DC
RGBrgb(103, 151, 220)
HSLhsl(215, 63%, 63%)
HSVhsv(215, 53%, 86%)
CMYKcmyk(53.2%, 31.4%, 0%, 13.7%)
CIE-LABlab(61.81, 3.42, -40.06)
CIE-LCHlch(61.81, 40.20, 274.88°)
OKLaboklab(67.15% -0.0251 -0.1128)
OKLCHoklch(67.15% 0.116 257.5)
XYZxyz(29.5739, 30.1818, 71.9635)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797DC #DCAC67
analogous
#67D1DC #6797DC #7167DC
triadic
#6797DC #DC6797 #97DC67
tetradic
#6797DC #DC67D1 #DCAC67 #67DC71
square
#6797DC #DC67D1 #DCAC67 #67DC71
split-complementary
#6797DC #DC7167 #D1DC67
monochromatic
#2659A3 #3575D1 #6797DC #99B9E7 #CADBF3

Accessibility & contrast

On white

2.98
#6797DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#6797DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797DC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797DC#FFFFFF#000000##000000
##6797DC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDF
Deuteranopia (green-blind)
#6D90DB
Tritanopia (blue-blind)
#25A6B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6797dc;
/* rgb */ color: rgb(103, 151, 220);
/* oklch */ color: oklch(67.1% 0.116 257.5);
Tailwind
colors: {
  custom: {
    50: '#99b5e7',
    500: '#6797dc',
    950: '#000000',
  },
}
SCSS
$custom: #6797dc;
$custom-light: #99b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6797dc",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 215.385,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.11552,
    "h": 257.5
  },
  "luminance": 0.30184
}

Semantic roles & 50–950 ramp

primary
#6797DC
secondary
#E4D3BB
accent
#821BCA
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #6797DC

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

Preview Lab → · Contrast checker → · Palette generator →

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