#172D46#172D46

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

Color values

HEX#172D46
RGBrgb(23, 45, 70)
HSLhsl(212, 51%, 18%)
HSVhsv(212, 67%, 27%)
CMYKcmyk(67.1%, 35.7%, 0%, 72.5%)
CIE-LABlab(17.92, 0.40, -18.25)
CIE-LCHlch(17.92, 18.25, 271.27°)
OKLaboklab(29.23% -0.0159 -0.0515)
OKLCHoklch(29.23% 0.054 252.8)
XYZxyz(2.3968, 2.5009, 6.1496)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D46 #463017
analogous
#174446 #172D46 #181746
triadic
#172D46 #46172D #2D4617
tetradic
#172D46 #461744 #463017 #174618
square
#172D46 #461744 #463017 #174618
split-complementary
#172D46 #461817 #444617
monochromatic
#080F17 #080F18 #172D46 #264B74 #3568A2

Accessibility & contrast

On white

14.00
#172D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D46
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D46#FFFFFF#000000##FFFFFF
##172D461.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E47
Deuteranopia (green-blind)
#1C2A45
Tritanopia (blue-blind)
#003336
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172d46;
/* rgb */ color: rgb(23, 45, 70);
/* oklch */ color: oklch(29.2% 0.054 252.8);
Tailwind
colors: {
  custom: {
    50: '#596579',
    500: '#172d46',
    950: '#000000',
  },
}
SCSS
$custom: #172d46;
$custom-light: #596579;
$custom-dark: #000000;
JSON
{
  "hex": "#172d46",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 70
  },
  "hsl": {
    "h": 211.915,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.05391,
    "h": 252.8
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#172D46
secondary
#7D5E3C
accent
#984EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #172D46

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

Preview Lab → · Contrast checker → · Palette generator →

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