#6798CF#6798CF

#6798CF is a light, moderate cyan. Relative luminance 0.298; OKLCH L 66.7% C 0.098 H 252.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6798CF
RGBrgb(103, 152, 207)
HSLhsl(212, 52%, 61%)
HSVhsv(212, 50%, 81%)
CMYKcmyk(50.2%, 26.6%, 0%, 18.8%)
CIE-LABlab(61.52, -1.12, -33.27)
CIE-LCHlch(61.52, 33.29, 268.07°)
OKLaboklab(66.73% -0.03 -0.0931)
OKLCHoklch(66.73% 0.098 252.1)
XYZxyz(28.0804, 29.8430, 63.2999)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6798CF #CF9E67
analogous
#67CCCF #6798CF #6A67CF
triadic
#6798CF #CF6798 #98CF67
tetradic
#6798CF #CF67CC #CF9E67 #67CF6A
square
#6798CF #CF67CC #CF9E67 #67CF6A
split-complementary
#6798CF #CF6A67 #CCCF67
monochromatic
#2D5B8F #3C79BD #6798CF #96B8DE #C4D7EC

Accessibility & contrast

On white

3.01
#6798CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#6798CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6798CF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6798CF#FFFFFF#000000##000000
##6798CF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#829AD1
Deuteranopia (green-blind)
#7590CE
Tritanopia (blue-blind)
#34A4AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6798cf;
/* rgb */ color: rgb(103, 152, 207);
/* oklch */ color: oklch(66.7% 0.098 252.1);
Tailwind
colors: {
  custom: {
    50: '#98b6de',
    500: '#6798cf',
    950: '#000000',
  },
}
SCSS
$custom: #6798cf;
$custom-light: #98b6de;
$custom-dark: #000000;
JSON
{
  "hex": "#6798cf",
  "rgb": {
    "r": 103,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 211.731,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6673,
    "c": 0.09784,
    "h": 252.1
  },
  "luminance": 0.29845
}

Semantic roles & 50–950 ramp

primary
#6798CF
secondary
#DDCAB5
accent
#7726BF
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0E1115
muted
#7E8083

Preview Lab

Preview with #6798CF

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

Preview Lab → · Contrast checker → · Palette generator →

#6798CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva