#2798A2#2798A2

#2798A2 is a light, moderate teal. Relative luminance 0.255; OKLCH L 62.4% C 0.097 H 203.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2798A2
RGBrgb(39, 152, 162)
HSLhsl(185, 61%, 39%)
HSVhsv(185, 76%, 64%)
CMYKcmyk(75.9%, 6.2%, 0%, 36.5%)
CIE-LABlab(57.55, -26.84, -14.14)
CIE-LCHlch(57.55, 30.34, 207.78°)
OKLaboklab(62.38% -0.0885 -0.0393)
OKLCHoklch(62.38% 0.097 203.9)
XYZxyz(18.5836, 25.4942, 38.1169)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798A2 #A23127
analogous
#27A26F #2798A2 #275BA2
triadic
#2798A2 #A22798 #98A227
tetradic
#2798A2 #6F27A2 #A23127 #5BA227
square
#2798A2 #6F27A2 #A23127 #5BA227
split-complementary
#2798A2 #A2275B #A26F27
monochromatic
#0F3B3F #1B6A71 #2798A2 #37C3CF #69D2DB

Accessibility & contrast

On white

3.44
#2798A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#2798A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798A2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798A2#FFFFFF#000000##000000
##2798A21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A3
Deuteranopia (green-blind)
#7A85A2
Tritanopia (blue-blind)
#009E9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2798a2;
/* rgb */ color: rgb(39, 152, 162);
/* oklch */ color: oklch(62.4% 0.097 203.9);
Tailwind
colors: {
  custom: {
    50: '#76b6bd',
    500: '#2798a2',
    950: '#000000',
  },
}
SCSS
$custom: #2798a2;
$custom-light: #76b6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2798a2",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 162
  },
  "hsl": {
    "h": 184.878,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6238,
    "c": 0.09684,
    "h": 203.9
  },
  "luminance": 0.25496
}

Semantic roles & 50–950 ramp

primary
#2798A2
secondary
#C16B64
accent
#5143E4
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2798A2

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

Preview Lab → · Contrast checker → · Palette generator →

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