#2798B6#2798B6

#2798B6 is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.2% C 0.105 H 220.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2798B6
RGBrgb(39, 152, 182)
HSLhsl(193, 65%, 43%)
HSVhsv(193, 79%, 71%)
CMYKcmyk(78.6%, 16.5%, 0%, 28.6%)
CIE-LABlab(58.29, -20.32, -24.38)
CIE-LCHlch(58.29, 31.74, 230.20°)
OKLaboklab(63.21% -0.0802 -0.0682)
OKLCHoklch(63.21% 0.105 220.4)
XYZxyz(20.5049, 26.2627, 48.2354)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798B6 #B64527
analogous
#27B68C #2798B6 #2751B6
triadic
#2798B6 #B62798 #98B627
tetradic
#2798B6 #8C27B6 #B64527 #51B627
square
#2798B6 #8C27B6 #B64527 #51B627
split-complementary
#2798B6 #B62751 #B68C27
monochromatic
#114451 #1C6E84 #2798B6 #43B8D7 #76CBE2

Accessibility & contrast

On white

3.36
#2798B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#2798B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798B6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798B6#FFFFFF#000000##000000
##2798B61.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8694B8
Deuteranopia (green-blind)
#7386B6
Tritanopia (blue-blind)
#00A2A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2798b6;
/* rgb */ color: rgb(39, 152, 182);
/* oklch */ color: oklch(63.2% 0.105 220.4);
Tailwind
colors: {
  custom: {
    50: '#79b6cc',
    500: '#2798b6',
    950: '#000000',
  },
}
SCSS
$custom: #2798b6;
$custom-light: #79b6cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2798b6",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 182
  },
  "hsl": {
    "h": 192.587,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.63212,
    "c": 0.1053,
    "h": 220.4
  },
  "luminance": 0.26265
}

Semantic roles & 50–950 ramp

primary
#2798B6
secondary
#C98270
accent
#6340E8
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2798B6

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

Preview Lab → · Contrast checker → · Palette generator →

#2798B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva