#2797A7#2797A7

#2797A7 is a light, moderate teal. Relative luminance 0.254; OKLCH L 62.3% C 0.098 H 209.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2797A7
RGBrgb(39, 151, 167)
HSLhsl(188, 62%, 40%)
HSVhsv(188, 77%, 65%)
CMYKcmyk(76.6%, 9.6%, 0%, 34.5%)
CIE-LABlab(57.42, -24.74, -17.19)
CIE-LCHlch(57.42, 30.13, 214.80°)
OKLaboklab(62.33% -0.0853 -0.0479)
OKLCHoklch(62.33% 0.098 209.3)
XYZxyz(18.8753, 25.3523, 40.4504)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797A7 #A73727
analogous
#27A777 #2797A7 #2757A7
triadic
#2797A7 #A72797 #97A727
tetradic
#2797A7 #7727A7 #A73727 #57A727
square
#2797A7 #7727A7 #A73727 #57A727
split-complementary
#2797A7 #A72757 #A77727
monochromatic
#103D44 #1B6A75 #2797A7 #3ABED1 #6CCFDD

Accessibility & contrast

On white

3.46
#2797A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#2797A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797A7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797A7#FFFFFF#000000##000000
##2797A71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A8
Deuteranopia (green-blind)
#7784A7
Tritanopia (blue-blind)
#009E9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2797a7;
/* rgb */ color: rgb(39, 151, 167);
/* oklch */ color: oklch(62.3% 0.098 209.3);
Tailwind
colors: {
  custom: {
    50: '#77b6c1',
    500: '#2797a7',
    950: '#000000',
  },
}
SCSS
$custom: #2797a7;
$custom-light: #77b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2797a7",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 167
  },
  "hsl": {
    "h": 187.5,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62327,
    "c": 0.09785,
    "h": 209.3
  },
  "luminance": 0.25355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2797A7

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

Preview Lab → · Contrast checker → · Palette generator →

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