#174040#174040

#174040 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.3% C 0.045 H 195.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#174040
RGBrgb(23, 64, 64)
HSLhsl(180, 47%, 17%)
HSVhsv(180, 64%, 25%)
CMYKcmyk(64.1%, 0%, 0%, 74.9%)
CIE-LABlab(24.38, -14.11, -4.31)
CIE-LCHlch(24.38, 14.75, 196.98°)
OKLaboklab(34.28% -0.0438 -0.0119)
OKLCHoklch(34.28% 0.045 195.2)
XYZxyz(3.1118, 4.2188, 5.4998)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174040 #401717
analogous
#17402C #174040 #172C40
triadic
#174040 #401740 #404017
tetradic
#174040 #2C1740 #401717 #2C4017
square
#174040 #2C1740 #401717 #2C4017
split-complementary
#174040 #40172C #402C17
monochromatic
#081717 #081717 #174040 #276D6D #379A9A

Accessibility & contrast

On white

11.39
#174040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#174040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174040
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174040#FFFFFF#000000##FFFFFF
##1740401.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D40
Deuteranopia (green-blind)
#353840
Tritanopia (blue-blind)
#004240
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #174040;
/* rgb */ color: rgb(23, 64, 64);
/* oklch */ color: oklch(34.3% 0.045 195.2);
Tailwind
colors: {
  custom: {
    50: '#5a7574',
    500: '#174040',
    950: '#000000',
  },
}
SCSS
$custom: #174040;
$custom-light: #5a7574;
$custom-dark: #000000;
JSON
{
  "hex": "#174040",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 180,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34283,
    "c": 0.04538,
    "h": 195.2
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#174040
secondary
#773C3C
accent
#5151D7
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#040808
muted
#797B7B

Preview Lab

Preview with #174040

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

Preview Lab → · Contrast checker → · Palette generator →

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