#2798A8#2798A8

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

Color values

HEX#2798A8
RGBrgb(39, 152, 168)
HSLhsl(187, 62%, 41%)
HSVhsv(187, 77%, 66%)
CMYKcmyk(76.8%, 9.5%, 0%, 34.1%)
CIE-LABlab(57.76, -24.93, -17.24)
CIE-LCHlch(57.76, 30.31, 214.66°)
OKLaboklab(62.62% -0.0859 -0.048)
OKLCHoklch(62.62% 0.098 209.2)
XYZxyz(19.1297, 25.7126, 40.9930)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798A8 #A83727
analogous
#27A877 #2798A8 #2757A8
triadic
#2798A8 #A82798 #98A827
tetradic
#2798A8 #7727A8 #A83727 #57A827
square
#2798A8 #7727A8 #A83727 #57A827
split-complementary
#2798A8 #A82757 #A87727
monochromatic
#103E45 #1B6B76 #2798A8 #3BBFD1 #6CCFDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2798A8#FFFFFF#000000##000000
##2798A81.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)
#8A92A9
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#009F9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2798a8;
/* rgb */ color: rgb(39, 152, 168);
/* oklch */ color: oklch(62.6% 0.098 209.2);
Tailwind
colors: {
  custom: {
    50: '#77b6c1',
    500: '#2798a8',
    950: '#000000',
  },
}
SCSS
$custom: #2798a8;
$custom-light: #77b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2798a8",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 168
  },
  "hsl": {
    "h": 187.442,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62619,
    "c": 0.09841,
    "h": 209.2
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#2798A8
secondary
#C37367
accent
#5742E5
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2798A8

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

Preview Lab → · Contrast checker → · Palette generator →

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