#172C3A#172C3A

#172C3A is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.037 H 239.2°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#172C3A
RGBrgb(23, 44, 58)
HSLhsl(204, 43%, 16%)
HSVhsv(204, 60%, 23%)
CMYKcmyk(60.3%, 24.1%, 0%, 77.3%)
CIE-LABlab(16.94, -3.52, -11.52)
CIE-LCHlch(16.94, 12.05, 253.00°)
OKLaboklab(28.24% -0.0192 -0.0321)
OKLCHoklch(28.24% 0.037 239.2)
XYZxyz(2.0175, 2.2888, 4.3376)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C3A #3A2517
analogous
#173A36 #172C3A #171A3A
triadic
#172C3A #3A172C #2C3A17
tetradic
#172C3A #36173A #3A2517 #1A3A17
square
#172C3A #36173A #3A2517 #1A3A17
split-complementary
#172C3A #3A171A #3A3617
monochromatic
#091116 #091116 #172C3A #284D66 #3A6E92

Accessibility & contrast

On white

14.41
#172C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#172C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C3A
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C3A#FFFFFF#000000##FFFFFF
##172C3A1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C3B
Deuteranopia (green-blind)
#21283A
Tritanopia (blue-blind)
#043031
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172c3a;
/* rgb */ color: rgb(23, 44, 58);
/* oklch */ color: oklch(28.2% 0.037 239.2);
Tailwind
colors: {
  custom: {
    50: '#576570',
    500: '#172c3a',
    950: '#000000',
  },
}
SCSS
$custom: #172c3a;
$custom-light: #576570;
$custom-dark: #000000;
JSON
{
  "hex": "#172c3a",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 58
  },
  "hsl": {
    "h": 204,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28238,
    "c": 0.03739,
    "h": 239.2
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#172C3A
secondary
#71513C
accent
#8755D3
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030507
muted
#787A7A

Preview Lab

Preview with #172C3A

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

Preview Lab → · Contrast checker → · Palette generator →

#172C3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva