#23797F#23797F

#23797F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.079 H 201.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#23797F
RGBrgb(35, 121, 127)
HSLhsl(184, 57%, 32%)
HSVhsv(184, 72%, 50%)
CMYKcmyk(72.4%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.40, -22.66, -10.63)
CIE-LCHlch(46.40, 25.03, 205.13°)
OKLaboklab(52.93% -0.0735 -0.0295)
OKLCHoklch(52.93% 0.079 201.9)
XYZxyz(11.3596, 15.5631, 22.4798)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23797F #7F2923
analogous
#237F57 #23797F #234B7F
triadic
#23797F #7F2379 #797F23
tetradic
#23797F #57237F #7F2923 #4B7F23
square
#23797F #57237F #7F2923 #4B7F23
split-complementary
#23797F #7F234B #7F5723
monochromatic
#091E1F #164B4F #23797F #30A7AF #4EC6CE

Accessibility & contrast

On white

5.11
#23797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#23797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23797F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23797F#FFFFFF#000000##FFFFFF
##23797F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F747F
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #23797f;
/* rgb */ color: rgb(35, 121, 127);
/* oklch */ color: oklch(52.9% 0.079 201.9);
Tailwind
colors: {
  custom: {
    50: '#6da0a4',
    500: '#23797f',
    950: '#000000',
  },
}
SCSS
$custom: #23797f;
$custom-light: #6da0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23797f",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 183.913,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.07916,
    "h": 201.9
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#23797F
secondary
#B1534C
accent
#5248E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #23797F

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

Preview Lab → · Contrast checker → · Palette generator →

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