#172D3F#172D3F

#172D3F is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.043 H 244.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#172D3F
RGBrgb(23, 45, 63)
HSLhsl(207, 47%, 17%)
HSVhsv(207, 63%, 25%)
CMYKcmyk(63.5%, 28.6%, 0%, 75.3%)
CIE-LABlab(17.54, -2.33, -14.04)
CIE-LCHlch(17.54, 14.23, 260.58°)
OKLaboklab(28.8% -0.0185 -0.0393)
OKLCHoklch(28.8% 0.043 244.8)
XYZxyz(2.1886, 2.4176, 5.0530)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D3F #3F2917
analogous
#173F3D #172D3F #17193F
triadic
#172D3F #3F172D #2D3F17
tetradic
#172D3F #3D173F #3F2917 #193F17
square
#172D3F #3D173F #3F2917 #193F17
split-complementary
#172D3F #3F1719 #3F3D17
monochromatic
#081016 #081016 #172D3F #274D6C #386D99

Accessibility & contrast

On white

14.15
#172D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#172D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D3F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D3F#FFFFFF#000000##FFFFFF
##172D3F1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D40
Deuteranopia (green-blind)
#20293F
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172d3f;
/* rgb */ color: rgb(23, 45, 63);
/* oklch */ color: oklch(28.8% 0.043 244.8);
Tailwind
colors: {
  custom: {
    50: '#586574',
    500: '#172d3f',
    950: '#000000',
  },
}
SCSS
$custom: #172d3f;
$custom-light: #586574;
$custom-dark: #000000;
JSON
{
  "hex": "#172d3f",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 63
  },
  "hsl": {
    "h": 207,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.288,
    "c": 0.04347,
    "h": 244.8
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#172D3F
secondary
#76563C
accent
#8D52D6
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #172D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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