#2798AC#2798AC

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

Color values

HEX#2798AC
RGBrgb(39, 152, 172)
HSLhsl(189, 63%, 41%)
HSVhsv(189, 77%, 67%)
CMYKcmyk(77.3%, 11.6%, 0%, 32.5%)
CIE-LABlab(57.91, -23.63, -19.29)
CIE-LCHlch(57.91, 30.51, 219.23°)
OKLaboklab(62.78% -0.0842 -0.0538)
OKLCHoklch(62.78% 0.1 212.6)
XYZxyz(19.5081, 25.8640, 42.9858)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798AC #AC3B27
analogous
#27AC7E #2798AC #2756AC
triadic
#2798AC #AC2798 #98AC27
tetradic
#2798AC #7E27AC #AC3B27 #56AC27
square
#2798AC #7E27AC #AC3B27 #56AC27
split-complementary
#2798AC #AC2756 #AC7E27
monochromatic
#104048 #1C6C7A #2798AC #3DBDD3 #6FCEDE

Accessibility & contrast

On white

3.40
#2798AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2798AC#FFFFFF#000000##000000
##2798AC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2798ac;
/* rgb */ color: rgb(39, 152, 172);
/* oklch */ color: oklch(62.8% 0.100 212.6);
Tailwind
colors: {
  custom: {
    50: '#77b6c4',
    500: '#2798ac',
    950: '#000000',
  },
}
SCSS
$custom: #2798ac;
$custom-light: #77b6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2798ac",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 172
  },
  "hsl": {
    "h": 189.023,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62783,
    "c": 0.09994,
    "h": 212.6
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#2798AC
secondary
#C5776A
accent
#5A42E6
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2798AC

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

Preview Lab → · Contrast checker → · Palette generator →

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