#2798AB#2798AB

#2798AB is a light, moderate teal. Relative luminance 0.258; OKLCH L 62.7% C 0.100 H 211.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2798AB
RGBrgb(39, 152, 171)
HSLhsl(189, 63%, 41%)
HSVhsv(189, 77%, 67%)
CMYKcmyk(77.2%, 11.1%, 0%, 32.9%)
CIE-LABlab(57.87, -23.96, -18.78)
CIE-LCHlch(57.87, 30.44, 218.09°)
OKLaboklab(62.74% -0.0847 -0.0523)
OKLCHoklch(62.74% 0.1 211.7)
XYZxyz(19.4124, 25.8257, 42.4819)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798AB #AB3A27
analogous
#27AB7C #2798AB #2756AB
triadic
#2798AB #AB2798 #98AB27
tetradic
#2798AB #7C27AB #AB3A27 #56AB27
square
#2798AB #7C27AB #AB3A27 #56AB27
split-complementary
#2798AB #AB2756 #AB7C27
monochromatic
#103F47 #1C6C79 #2798AB #3DBDD3 #6ECEDE

Accessibility & contrast

On white

3.41
#2798AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2798AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798AB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798AB#FFFFFF#000000##000000
##2798AB1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8993AC
Deuteranopia (green-blind)
#7785AB
Tritanopia (blue-blind)
#00A09E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2798ab;
/* rgb */ color: rgb(39, 152, 171);
/* oklch */ color: oklch(62.7% 0.100 211.7);
Tailwind
colors: {
  custom: {
    50: '#77b6c4',
    500: '#2798ab',
    950: '#000000',
  },
}
SCSS
$custom: #2798ab;
$custom-light: #77b6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2798ab",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 171
  },
  "hsl": {
    "h": 188.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.09953,
    "h": 211.7
  },
  "luminance": 0.25828
}

Semantic roles & 50–950 ramp

primary
#2798AB
secondary
#C57669
accent
#5942E6
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2798AB

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

Preview Lab → · Contrast checker → · Palette generator →

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