#172D4B#172D4B

#172D4B is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.062 H 256.6°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#172D4B
RGBrgb(23, 45, 75)
HSLhsl(215, 53%, 19%)
HSVhsv(215, 69%, 29%)
CMYKcmyk(69.3%, 40%, 0%, 70.6%)
CIE-LABlab(18.22, 2.41, -21.18)
CIE-LCHlch(18.22, 21.32, 276.50°)
OKLaboklab(29.55% -0.0143 -0.0601)
OKLCHoklch(29.55% 0.062 256.6)
XYZxyz(2.5613, 2.5667, 7.0157)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D4B #4B3517
analogous
#17474B #172D4B #1B174B
triadic
#172D4B #4B172D #2D4B17
tetradic
#172D4B #4B1747 #4B3517 #174B1B
square
#172D4B #4B1747 #4B3517 #174B1B
split-complementary
#172D4B #4B1B17 #474B17
monochromatic
#070E17 #09111C #172D4B #25497A #3465A9

Accessibility & contrast

On white

13.88
#172D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D4B
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D4B#FFFFFF#000000##FFFFFF
##172D4B1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202F4C
Deuteranopia (green-blind)
#192A4A
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172d4b;
/* rgb */ color: rgb(23, 45, 75);
/* oklch */ color: oklch(29.6% 0.062 256.6);
Tailwind
colors: {
  custom: {
    50: '#5a657d',
    500: '#172d4b',
    950: '#000000',
  },
}
SCSS
$custom: #172d4b;
$custom-light: #5a657d;
$custom-dark: #000000;
JSON
{
  "hex": "#172d4b",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 214.615,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29552,
    "c": 0.06175,
    "h": 256.6
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#172D4B
secondary
#82643C
accent
#9F4BDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #172D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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