#173540#173540

#173540 is a dark, muted cyan. Relative luminance 0.031; OKLCH L 31.1% C 0.041 H 224.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#173540
RGBrgb(23, 53, 64)
HSLhsl(196, 47%, 17%)
HSVhsv(196, 64%, 25%)
CMYKcmyk(64.1%, 17.2%, 0%, 74.9%)
CIE-LABlab(20.43, -7.33, -10.27)
CIE-LCHlch(20.43, 12.62, 234.48°)
OKLaboklab(31.11% -0.0291 -0.0285)
OKLCHoklch(31.11% 0.041 224.5)
XYZxyz(2.5515, 3.0983, 5.3131)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173540 #402217
analogous
#174037 #173540 #172140
triadic
#173540 #401735 #354017
tetradic
#173540 #371740 #402217 #214017
square
#173540 #371740 #402217 #214017
split-complementary
#173540 #401721 #403717
monochromatic
#081317 #081317 #173540 #275A6D #37809A

Accessibility & contrast

On white

12.96
#173540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#173540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173540
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173540#FFFFFF#000000##FFFFFF
##1735401.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#292F40
Tritanopia (blue-blind)
#003839
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173540;
/* rgb */ color: rgb(23, 53, 64);
/* oklch */ color: oklch(31.1% 0.041 224.5);
Tailwind
colors: {
  custom: {
    50: '#586c74',
    500: '#173540',
    950: '#000000',
  },
}
SCSS
$custom: #173540;
$custom-light: #586c74;
$custom-dark: #000000;
JSON
{
  "hex": "#173540",
  "rgb": {
    "r": 23,
    "g": 53,
    "b": 64
  },
  "hsl": {
    "h": 196.098,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.31111,
    "c": 0.04075,
    "h": 224.5
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#173540
secondary
#774C3C
accent
#7551D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #173540

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

Preview Lab → · Contrast checker → · Palette generator →

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