#172D47#172D47

#172D47 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.3% C 0.055 H 253.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#172D47
RGBrgb(23, 45, 71)
HSLhsl(213, 51%, 18%)
HSVhsv(213, 68%, 28%)
CMYKcmyk(67.6%, 36.6%, 0%, 72.2%)
CIE-LABlab(17.98, 0.80, -18.84)
CIE-LCHlch(17.98, 18.86, 272.45°)
OKLaboklab(29.29% -0.0156 -0.0532)
OKLCHoklch(29.29% 0.055 253.7)
XYZxyz(2.4287, 2.5136, 6.3172)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D47 #473117
analogous
#174547 #172D47 #191747
triadic
#172D47 #47172D #2D4717
tetradic
#172D47 #471745 #473117 #174719
square
#172D47 #471745 #473117 #174719
split-complementary
#172D47 #471917 #454717
monochromatic
#070F17 #081019 #172D47 #264A75 #3568A3

Accessibility & contrast

On white

13.97
#172D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D47
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D47#FFFFFF#000000##FFFFFF
##172D471.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172d47;
/* rgb */ color: rgb(23, 45, 71);
/* oklch */ color: oklch(29.3% 0.055 253.7);
Tailwind
colors: {
  custom: {
    50: '#59657a',
    500: '#172d47',
    950: '#000000',
  },
}
SCSS
$custom: #172d47;
$custom-light: #59657a;
$custom-dark: #000000;
JSON
{
  "hex": "#172d47",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 71
  },
  "hsl": {
    "h": 212.5,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29289,
    "c": 0.05546,
    "h": 253.7
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#172D47
secondary
#7E603C
accent
#9A4DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #172D47

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

Preview Lab → · Contrast checker → · Palette generator →

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