#173140#173140

#173140 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.042 H 235.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#173140
RGBrgb(23, 49, 64)
HSLhsl(202, 47%, 17%)
HSVhsv(202, 64%, 25%)
CMYKcmyk(64.1%, 23.4%, 0%, 74.9%)
CIE-LABlab(19.01, -4.68, -12.46)
CIE-LCHlch(19.01, 13.31, 249.39°)
OKLaboklab(29.98% -0.0236 -0.0348)
OKLCHoklch(29.98% 0.042 235.8)
XYZxyz(2.3767, 2.7487, 5.2548)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173140 #402617
analogous
#17403B #173140 #171D40
triadic
#173140 #401731 #314017
tetradic
#173140 #3B1740 #402617 #1D4017
square
#173140 #3B1740 #402617 #1D4017
split-complementary
#173140 #40171D #403B17
monochromatic
#081117 #081117 #173140 #27536D #37769A

Accessibility & contrast

On white

13.55
#173140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#173140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173140
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173140#FFFFFF#000000##FFFFFF
##1731401.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3141
Deuteranopia (green-blind)
#242C40
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #173140;
/* rgb */ color: rgb(23, 49, 64);
/* oklch */ color: oklch(30.0% 0.042 235.8);
Tailwind
colors: {
  custom: {
    50: '#586974',
    500: '#173140',
    950: '#000000',
  },
}
SCSS
$custom: #173140;
$custom-light: #586974;
$custom-dark: #000000;
JSON
{
  "hex": "#173140",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 64
  },
  "hsl": {
    "h": 201.951,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29977,
    "c": 0.04204,
    "h": 235.8
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#173140
secondary
#77513C
accent
#8251D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #173140

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

Preview Lab → · Contrast checker → · Palette generator →

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