#172D4A#172D4A

#172D4A is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.060 H 255.9°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#172D4A
RGBrgb(23, 45, 74)
HSLhsl(214, 53%, 19%)
HSVhsv(214, 69%, 29%)
CMYKcmyk(68.9%, 39.2%, 0%, 71%)
CIE-LABlab(18.16, 2.01, -20.60)
CIE-LCHlch(18.16, 20.70, 275.57°)
OKLaboklab(29.49% -0.0146 -0.0584)
OKLCHoklch(29.49% 0.06 255.9)
XYZxyz(2.5273, 2.5531, 6.8368)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D4A #4A3417
analogous
#17474A #172D4A #1B174A
triadic
#172D4A #4A172D #2D4A17
tetradic
#172D4A #4A1747 #4A3417 #174A1B
square
#172D4A #4A1747 #4A3417 #174A1B
split-complementary
#172D4A #4A1B17 #474A17
monochromatic
#070E17 #08111B #172D4A #264979 #3466A7

Accessibility & contrast

On white

13.90
#172D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D4A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D4A#FFFFFF#000000##FFFFFF
##172D4A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4B
Deuteranopia (green-blind)
#1A2A49
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172d4a;
/* rgb */ color: rgb(23, 45, 74);
/* oklch */ color: oklch(29.5% 0.060 255.9);
Tailwind
colors: {
  custom: {
    50: '#5a657c',
    500: '#172d4a',
    950: '#000000',
  },
}
SCSS
$custom: #172d4a;
$custom-light: #5a657c;
$custom-dark: #000000;
JSON
{
  "hex": "#172d4a",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 74
  },
  "hsl": {
    "h": 214.118,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29485,
    "c": 0.06017,
    "h": 255.9
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#172D4A
secondary
#81633C
accent
#9E4CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #172D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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