#2797AB#2797AB

#2797AB is a light, moderate teal. Relative luminance 0.255; OKLCH L 62.5% C 0.099 H 212.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2797AB
RGBrgb(39, 151, 171)
HSLhsl(189, 63%, 41%)
HSVhsv(189, 77%, 67%)
CMYKcmyk(77.2%, 11.7%, 0%, 32.9%)
CIE-LABlab(57.56, -23.44, -19.25)
CIE-LCHlch(57.56, 30.33, 219.39°)
OKLaboklab(62.49% -0.0837 -0.0537)
OKLCHoklch(62.49% 0.099 212.7)
XYZxyz(19.2508, 25.5025, 42.4281)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797AB #AB3B27
analogous
#27AB7D #2797AB #2755AB
triadic
#2797AB #AB2797 #97AB27
tetradic
#2797AB #7D27AB #AB3B27 #55AB27
square
#2797AB #7D27AB #AB3B27 #55AB27
split-complementary
#2797AB #AB2755 #AB7D27
monochromatic
#103F47 #1C6B79 #2797AB #3DBCD3 #6ECDDE

Accessibility & contrast

On white

3.44
#2797AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#2797AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797AB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797AB#FFFFFF#000000##000000
##2797AB1.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)
#8892AC
Deuteranopia (green-blind)
#7685AB
Tritanopia (blue-blind)
#009F9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2797ab;
/* rgb */ color: rgb(39, 151, 171);
/* oklch */ color: oklch(62.5% 0.099 212.7);
Tailwind
colors: {
  custom: {
    50: '#77b6c4',
    500: '#2797ab',
    950: '#000000',
  },
}
SCSS
$custom: #2797ab;
$custom-light: #77b6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2797ab",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 189.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62492,
    "c": 0.0994,
    "h": 212.7
  },
  "luminance": 0.25505
}

Semantic roles & 50–950 ramp

primary
#2797AB
secondary
#C57769
accent
#5B42E6
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2797AB

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

Preview Lab → · Contrast checker → · Palette generator →

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