#175340#175340

#175340 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.8% C 0.069 H 168.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#175340
RGBrgb(23, 83, 64)
HSLhsl(161, 57%, 21%)
HSVhsv(161, 72%, 33%)
CMYKcmyk(72.3%, 0%, 22.9%, 67.5%)
CIE-LABlab(31.20, -24.32, 5.62)
CIE-LCHlch(31.20, 24.96, 166.99°)
OKLaboklab(39.83% -0.0677 0.0144)
OKLCHoklch(39.83% 0.069 168)
XYZxyz(4.3715, 6.7384, 5.9197)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175340 #53172A
analogous
#175322 #175340 #174853
triadic
#175340 #401753 #534017
tetradic
#175340 #221753 #53172A #485317
square
#175340 #221753 #53172A #485317
split-complementary
#175340 #531748 #532217
monochromatic
#071812 #0A231B #175340 #248365 #32B38A

Accessibility & contrast

On white

8.94
#175340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#175340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175340
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175340#FFFFFF#000000##FFFFFF
##1753401.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3F
Deuteranopia (green-blind)
#494741
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #175340;
/* rgb */ color: rgb(23, 83, 64);
/* oklch */ color: oklch(39.8% 0.069 168.0);
Tailwind
colors: {
  custom: {
    50: '#5d8474',
    500: '#175340',
    950: '#000000',
  },
}
SCSS
$custom: #175340;
$custom-light: #5d8474;
$custom-dark: #000000;
JSON
{
  "hex": "#175340",
  "rgb": {
    "r": 23,
    "g": 83,
    "b": 64
  },
  "hsl": {
    "h": 161,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39831,
    "c": 0.06918,
    "h": 168
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#175340
secondary
#8A3C55
accent
#4878E0
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #175340

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

Preview Lab → · Contrast checker → · Palette generator →

#175340 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva