#6797E8#6797E8

#6797E8 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.8% C 0.131 H 260.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6797E8
RGBrgb(103, 151, 232)
HSLhsl(218, 74%, 66%)
HSVhsv(218, 56%, 91%)
CMYKcmyk(55.6%, 34.9%, 0%, 9%)
CIE-LABlab(62.37, 7.17, -45.82)
CIE-LCHlch(62.37, 46.38, 278.90°)
OKLaboklab(67.77% -0.022 -0.1295)
OKLCHoklch(67.77% 0.131 260.4)
XYZxyz(31.2206, 30.8405, 80.6359)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797E8 #E8B867
analogous
#67D8E8 #6797E8 #7767E8
triadic
#6797E8 #E86797 #97E867
tetradic
#6797E8 #E867D8 #E8B867 #67E877
square
#6797E8 #E867D8 #E8B867 #67E877
split-complementary
#6797E8 #E87767 #D8E867
monochromatic
#1C56B9 #3273E0 #6797E8 #9CBBF0 #D1E0F8

Accessibility & contrast

On white

2.93
#6797E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#6797E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797E8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797E8#FFFFFF#000000##000000
##6797E81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEB
Deuteranopia (green-blind)
#6691E6
Tritanopia (blue-blind)
#07A9B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6797e8;
/* rgb */ color: rgb(103, 151, 232);
/* oklch */ color: oklch(67.8% 0.131 260.4);
Tailwind
colors: {
  custom: {
    50: '#9bb5ef',
    500: '#6797e8',
    950: '#000000',
  },
}
SCSS
$custom: #6797e8;
$custom-light: #9bb5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6797e8",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 217.674,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67769,
    "c": 0.13138,
    "h": 260.4
  },
  "luminance": 0.30843
}

Semantic roles & 50–950 ramp

primary
#6797E8
secondary
#EBDBC0
accent
#8C10D6
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1116
muted
#7F8084

Preview Lab

Preview with #6797E8

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

Preview Lab → · Contrast checker → · Palette generator →

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