#23797C#23797C

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

Color values

HEX#23797C
RGBrgb(35, 121, 124)
HSLhsl(182, 56%, 31%)
HSVhsv(182, 72%, 49%)
CMYKcmyk(71.8%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.29, -23.61, -9.00)
CIE-LCHlch(46.29, 25.27, 200.86°)
OKLaboklab(52.81% -0.0748 -0.025)
OKLCHoklch(52.81% 0.079 198.5)
XYZxyz(11.1670, 15.4860, 21.4654)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23797C #7C2623
analogous
#237C52 #23797C #234C7C
triadic
#23797C #7C2379 #797C23
tetradic
#23797C #52237C #7C2623 #4C7C23
square
#23797C #52237C #7C2623 #4C7C23
split-complementary
#23797C #7C234C #7C5223
monochromatic
#081C1D #164A4C #23797C #30A8AC #4DC8CD

Accessibility & contrast

On white

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

On black

4.10
#23797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##23797C#FFFFFF#000000##FFFFFF
##23797C1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737C
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #23797c;
/* rgb */ color: rgb(35, 121, 124);
/* oklch */ color: oklch(52.8% 0.079 198.5);
Tailwind
colors: {
  custom: {
    50: '#6ca0a1',
    500: '#23797c',
    950: '#000000',
  },
}
SCSS
$custom: #23797c;
$custom-light: #6ca0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23797c",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 182.022,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.07891,
    "h": 198.5
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#23797C
secondary
#AF504C
accent
#4E49DF
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #23797C

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

Preview Lab → · Contrast checker → · Palette generator →

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