#2798A7#2798A7

#2798A7 is a light, moderate teal. Relative luminance 0.257; OKLCH L 62.6% C 0.098 H 208.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2798A7
RGBrgb(39, 152, 167)
HSLhsl(187, 62%, 40%)
HSVhsv(187, 77%, 65%)
CMYKcmyk(76.6%, 9%, 0%, 34.5%)
CIE-LABlab(57.73, -25.25, -16.72)
CIE-LCHlch(57.73, 30.28, 213.52°)
OKLaboklab(62.58% -0.0863 -0.0465)
OKLCHoklch(62.58% 0.098 208.3)
XYZxyz(19.0369, 25.6755, 40.5043)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798A7 #A73627
analogous
#27A776 #2798A7 #2758A7
triadic
#2798A7 #A72798 #98A727
tetradic
#2798A7 #7627A7 #A73627 #58A727
square
#2798A7 #7627A7 #A73627 #58A727
split-complementary
#2798A7 #A72758 #A77627
monochromatic
#103E44 #1B6B75 #2798A7 #3ABFD1 #6CCFDD

Accessibility & contrast

On white

3.42
#2798A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#2798A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798A7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798A7#FFFFFF#000000##000000
##2798A71.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A92A8
Deuteranopia (green-blind)
#7985A7
Tritanopia (blue-blind)
#009F9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2798a7;
/* rgb */ color: rgb(39, 152, 167);
/* oklch */ color: oklch(62.6% 0.098 208.3);
Tailwind
colors: {
  custom: {
    50: '#77b6c1',
    500: '#2798a7',
    950: '#000000',
  },
}
SCSS
$custom: #2798a7;
$custom-light: #77b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2798a7",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 167
  },
  "hsl": {
    "h": 187.031,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.09809,
    "h": 208.3
  },
  "luminance": 0.25678
}

Semantic roles & 50–950 ramp

primary
#2798A7
secondary
#C37267
accent
#5643E5
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2798A7

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

Preview Lab → · Contrast checker → · Palette generator →

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