#23797D#23797D

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

Color values

HEX#23797D
RGBrgb(35, 121, 125)
HSLhsl(183, 56%, 31%)
HSVhsv(183, 72%, 49%)
CMYKcmyk(72%, 3.2%, 0%, 51%)
CIE-LABlab(46.33, -23.30, -9.54)
CIE-LCHlch(46.33, 25.18, 202.27°)
OKLaboklab(52.85% -0.0744 -0.0265)
OKLCHoklch(52.85% 0.079 199.6)
XYZxyz(11.2305, 15.5114, 21.8002)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23797D #7D2723
analogous
#237D54 #23797D #234C7D
triadic
#23797D #7D2379 #797D23
tetradic
#23797D #54237D #7D2723 #4C7D23
square
#23797D #54237D #7D2723 #4C7D23
split-complementary
#23797D #7D234C #7D5423
monochromatic
#081C1D #164B4D #23797D #30A7AD #4DC8CD

Accessibility & contrast

On white

5.12
#23797D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #23797D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23797D#FFFFFF#000000##FFFFFF
##23797D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737D
Deuteranopia (green-blind)
#636A7D
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #23797d;
/* rgb */ color: rgb(35, 121, 125);
/* oklch */ color: oklch(52.8% 0.079 199.6);
Tailwind
colors: {
  custom: {
    50: '#6da0a2',
    500: '#23797d',
    950: '#000000',
  },
}
SCSS
$custom: #23797d;
$custom-light: #6da0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23797d",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 182.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.07896,
    "h": 199.6
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#23797D
secondary
#AF514C
accent
#4F48E0
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #23797D

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

Preview Lab → · Contrast checker → · Palette generator →

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