#31797B#31797B

#31797B is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.071 H 197.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#31797B
RGBrgb(49, 121, 123)
HSLhsl(182, 43%, 34%)
HSVhsv(182, 60%, 48%)
CMYKcmyk(60.2%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.65, -21.49, -7.82)
CIE-LCHlch(46.65, 22.87, 200.00°)
OKLaboklab(53.2% -0.0676 -0.0217)
OKLCHoklch(53.2% 0.071 197.8)
XYZxyz(11.6776, 15.7566, 21.1610)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31797B #7B3331
analogous
#317B58 #31797B #31547B
triadic
#31797B #7B3179 #797B31
tetradic
#31797B #58317B #7B3331 #547B31
square
#31797B #58317B #7B3331 #547B31
split-complementary
#31797B #7B3154 #7B5831
monochromatic
#0E2323 #204E4F #31797B #42A4A7 #65BFC2

Accessibility & contrast

On white

5.06
#31797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#31797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31797B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31797B#FFFFFF#000000##FFFFFF
##31797B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747B
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #31797b;
/* rgb */ color: rgb(49, 121, 123);
/* oklch */ color: oklch(53.2% 0.071 197.8);
Tailwind
colors: {
  custom: {
    50: '#72a0a1',
    500: '#31797b',
    950: '#000000',
  },
}
SCSS
$custom: #31797b;
$custom-light: #72a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31797b",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.622,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.07101,
    "h": 197.8
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#31797B
secondary
#A9615F
accent
#5855D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #31797B

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

Preview Lab → · Contrast checker → · Palette generator →

#31797B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva