#172F3A#172F3A

#172F3A is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.036 H 229.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#172F3A
RGBrgb(23, 47, 58)
HSLhsl(199, 43%, 16%)
HSVhsv(199, 60%, 23%)
CMYKcmyk(60.3%, 19%, 0%, 77.3%)
CIE-LABlab(18.01, -5.56, -9.87)
CIE-LCHlch(18.01, 11.33, 240.60°)
OKLaboklab(29.09% -0.0235 -0.0274)
OKLCHoklch(29.09% 0.036 229.4)
XYZxyz(2.1333, 2.5205, 4.3763)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F3A #3A2217
analogous
#173A33 #172F3A #171D3A
triadic
#172F3A #3A172F #2F3A17
tetradic
#172F3A #33173A #3A2217 #1D3A17
square
#172F3A #33173A #3A2217 #1D3A17
split-complementary
#172F3A #3A171D #3A3317
monochromatic
#091216 #091216 #172F3A #285366 #3A7692

Accessibility & contrast

On white

13.96
#172F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#172F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F3A
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F3A#FFFFFF#000000##FFFFFF
##172F3A1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3B
Deuteranopia (green-blind)
#242A3A
Tritanopia (blue-blind)
#033233
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172f3a;
/* rgb */ color: rgb(23, 47, 58);
/* oklch */ color: oklch(29.1% 0.036 229.4);
Tailwind
colors: {
  custom: {
    50: '#576770',
    500: '#172f3a',
    950: '#000000',
  },
}
SCSS
$custom: #172f3a;
$custom-light: #576770;
$custom-dark: #000000;
JSON
{
  "hex": "#172f3a",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 58
  },
  "hsl": {
    "h": 198.857,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29091,
    "c": 0.03609,
    "h": 229.4
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#172F3A
secondary
#714D3C
accent
#7C55D3
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #172F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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