#23797B#23797B

#23797B is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.079 H 197.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#23797B
RGBrgb(35, 121, 123)
HSLhsl(181, 56%, 31%)
HSVhsv(181, 72%, 48%)
CMYKcmyk(71.5%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.26, -23.93, -8.46)
CIE-LCHlch(46.26, 25.38, 199.46°)
OKLaboklab(52.77% -0.0753 -0.0235)
OKLCHoklch(52.77% 0.079 197.3)
XYZxyz(11.1041, 15.4608, 21.1341)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23797B #7B2523
analogous
#237B51 #23797B #234D7B
triadic
#23797B #7B2379 #797B23
tetradic
#23797B #51237B #7B2523 #4D7B23
square
#23797B #51237B #7B2523 #4D7B23
split-complementary
#23797B #7B234D #7B5123
monochromatic
#081B1C #154A4B #23797B #31A8AB #4CC9CC

Accessibility & contrast

On white

5.13
#23797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#23797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23797B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23797B#FFFFFF#000000##FFFFFF
##23797B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737B
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #23797b;
/* rgb */ color: rgb(35, 121, 123);
/* oklch */ color: oklch(52.8% 0.079 197.3);
Tailwind
colors: {
  custom: {
    50: '#6ca0a1',
    500: '#23797b',
    950: '#000000',
  },
}
SCSS
$custom: #23797b;
$custom-light: #6ca0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23797b",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.364,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.07889,
    "h": 197.3
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#23797B
secondary
#AE4E4C
accent
#4C49DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #23797B

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

Preview Lab → · Contrast checker → · Palette generator →

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