#6797DD#6797DD

#6797DD is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.2% C 0.117 H 257.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6797DD
RGBrgb(103, 151, 221)
HSLhsl(216, 63%, 64%)
HSVhsv(216, 53%, 87%)
CMYKcmyk(53.4%, 31.7%, 0%, 13.3%)
CIE-LABlab(61.86, 3.73, -40.54)
CIE-LCHlch(61.86, 40.71, 275.26°)
OKLaboklab(67.2% -0.0248 -0.1142)
OKLCHoklch(67.2% 0.117 257.7)
XYZxyz(29.7068, 30.2349, 72.6631)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797DD #DDAD67
analogous
#67D2DD #6797DD #7267DD
triadic
#6797DD #DD6797 #97DD67
tetradic
#6797DD #DD67D2 #DDAD67 #67DD72
square
#6797DD #DD67D2 #DDAD67 #67DD72
split-complementary
#6797DD #DD7267 #D2DD67
monochromatic
#2559A5 #3575D2 #6797DD #99B9E8 #CBDBF3

Accessibility & contrast

On white

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

On black

7.05
#6797DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797DD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797DD#FFFFFF#000000##000000
##6797DD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE0
Deuteranopia (green-blind)
#6C90DC
Tritanopia (blue-blind)
#24A7B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6797dd;
/* rgb */ color: rgb(103, 151, 221);
/* oklch */ color: oklch(67.2% 0.117 257.7);
Tailwind
colors: {
  custom: {
    50: '#9ab5e8',
    500: '#6797dd',
    950: '#000000',
  },
}
SCSS
$custom: #6797dd;
$custom-light: #9ab5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6797dd",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 215.593,
    "s": 63.441,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67197,
    "c": 0.11682,
    "h": 257.7
  },
  "luminance": 0.30237
}

Semantic roles & 50–950 ramp

primary
#6797DD
secondary
#E5D4BB
accent
#831ACB
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0F1116
muted
#7E8084

Preview Lab

Preview with #6797DD

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

Preview Lab → · Contrast checker → · Palette generator →

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