#172D40#172D40

#172D40 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.9% C 0.045 H 246.2°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#172D40
RGBrgb(23, 45, 64)
HSLhsl(208, 47%, 17%)
HSVhsv(208, 64%, 25%)
CMYKcmyk(64.1%, 29.7%, 0%, 74.9%)
CIE-LABlab(17.59, -1.95, -14.65)
CIE-LCHlch(17.59, 14.78, 262.44°)
OKLaboklab(28.86% -0.0181 -0.0411)
OKLCHoklch(28.86% 0.045 246.2)
XYZxyz(2.2168, 2.4289, 5.2015)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D40 #402A17
analogous
#17403F #172D40 #171940
triadic
#172D40 #40172D #2D4017
tetradic
#172D40 #3F1740 #402A17 #194017
square
#172D40 #3F1740 #402A17 #194017
split-complementary
#172D40 #401719 #403F17
monochromatic
#081017 #081017 #172D40 #274D6D #376C9A

Accessibility & contrast

On white

14.13
#172D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#172D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D40
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D40#FFFFFF#000000##FFFFFF
##172D401.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D41
Deuteranopia (green-blind)
#1F2940
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172d40;
/* rgb */ color: rgb(23, 45, 64);
/* oklch */ color: oklch(28.9% 0.045 246.2);
Tailwind
colors: {
  custom: {
    50: '#586575',
    500: '#172d40',
    950: '#000000',
  },
}
SCSS
$custom: #172d40;
$custom-light: #586575;
$custom-dark: #000000;
JSON
{
  "hex": "#172d40",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 207.805,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28858,
    "c": 0.0449,
    "h": 246.2
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#172D40
secondary
#77573C
accent
#8F51D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #172D40

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

Preview Lab → · Contrast checker → · Palette generator →

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