#173A42#173A42

#173A42 is a dark, muted cyan. Relative luminance 0.036; OKLCH L 32.6% C 0.042 H 214.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#173A42
RGBrgb(23, 58, 66)
HSLhsl(191, 48%, 17%)
HSVhsv(191, 65%, 26%)
CMYKcmyk(65.2%, 12.1%, 0%, 74.1%)
CIE-LABlab(22.31, -9.79, -8.76)
CIE-LCHlch(22.31, 13.14, 221.83°)
OKLaboklab(32.64% -0.0349 -0.0243)
OKLCHoklch(32.64% 0.042 214.9)
XYZxyz(2.8494, 3.6013, 5.6982)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A42 #421F17
analogous
#174235 #173A42 #172442
triadic
#173A42 #42173A #3A4217
tetradic
#173A42 #351742 #421F17 #244217
square
#173A42 #351742 #421F17 #244217
split-complementary
#173A42 #421724 #423517
monochromatic
#081417 #081417 #173A42 #27626F #378A9D

Accessibility & contrast

On white

12.21
#173A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#173A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A42
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A42#FFFFFF#000000##FFFFFF
##173A421.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343842
Deuteranopia (green-blind)
#2E3342
Tritanopia (blue-blind)
#003D3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173a42;
/* rgb */ color: rgb(23, 58, 66);
/* oklch */ color: oklch(32.6% 0.042 214.9);
Tailwind
colors: {
  custom: {
    50: '#597076',
    500: '#173a42',
    950: '#000000',
  },
}
SCSS
$custom: #173a42;
$custom-light: #597076;
$custom-dark: #000000;
JSON
{
  "hex": "#173a42",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 191.163,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.32639,
    "c": 0.04249,
    "h": 214.9
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#173A42
secondary
#79473C
accent
#6950D8
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#040708
muted
#797A7B

Preview Lab

Preview with #173A42

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

Preview Lab → · Contrast checker → · Palette generator →

#173A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva