#172F3C#172F3C

#172F3C is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.038 H 233.9°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#172F3C
RGBrgb(23, 47, 60)
HSLhsl(201, 45%, 16%)
HSVhsv(201, 62%, 24%)
CMYKcmyk(61.7%, 21.7%, 0%, 76.5%)
CIE-LABlab(18.10, -4.83, -11.11)
CIE-LCHlch(18.10, 12.11, 246.51°)
OKLaboklab(29.2% -0.0226 -0.0309)
OKLCHoklch(29.2% 0.038 233.9)
XYZxyz(2.1852, 2.5412, 4.6494)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F3C #3C2417
analogous
#173C37 #172F3C #171D3C
triadic
#172F3C #3C172F #2F3C17
tetradic
#172F3C #37173C #3C2417 #1D3C17
square
#172F3C #37173C #3C2417 #1D3C17
split-complementary
#172F3C #3C171D #3C3717
monochromatic
#081116 #081116 #172F3C #285268 #397494

Accessibility & contrast

On white

13.92
#172F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F3C
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F3C#FFFFFF#000000##FFFFFF
##172F3C1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3D
Deuteranopia (green-blind)
#242B3C
Tritanopia (blue-blind)
#023233
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172f3c;
/* rgb */ color: rgb(23, 47, 60);
/* oklch */ color: oklch(29.2% 0.038 233.9);
Tailwind
colors: {
  custom: {
    50: '#576771',
    500: '#172f3c',
    950: '#000000',
  },
}
SCSS
$custom: #172f3c;
$custom-light: #576771;
$custom-dark: #000000;
JSON
{
  "hex": "#172f3c",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 60
  },
  "hsl": {
    "h": 201.081,
    "s": 44.578,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29196,
    "c": 0.03829,
    "h": 233.9
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#172F3C
secondary
#734F3C
accent
#8154D4
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #172F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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