#172F4A#172F4A

#172F4A is a dark, muted cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.058 H 252.7°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#172F4A
RGBrgb(23, 47, 74)
HSLhsl(212, 53%, 19%)
HSVhsv(212, 69%, 29%)
CMYKcmyk(68.9%, 36.5%, 0%, 71%)
CIE-LABlab(18.84, 0.58, -19.52)
CIE-LCHlch(18.84, 19.53, 271.72°)
OKLaboklab(30.02% -0.0172 -0.0552)
OKLCHoklch(30.02% 0.058 252.7)
XYZxyz(2.6054, 2.7094, 6.8629)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F4A #4A3217
analogous
#17494A #172F4A #19174A
triadic
#172F4A #4A172F #2F4A17
tetradic
#172F4A #4A1749 #4A3217 #174A19
square
#172F4A #4A1749 #4A3217 #174A19
split-complementary
#172F4A #4A1917 #494A17
monochromatic
#070F17 #08111B #172F4A #264D79 #346AA7

Accessibility & contrast

On white

13.62
#172F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#172F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F4A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F4A#FFFFFF#000000##FFFFFF
##172F4A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304B
Deuteranopia (green-blind)
#1D2C49
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172f4a;
/* rgb */ color: rgb(23, 47, 74);
/* oklch */ color: oklch(30.0% 0.058 252.7);
Tailwind
colors: {
  custom: {
    50: '#5a677c',
    500: '#172f4a',
    950: '#000000',
  },
}
SCSS
$custom: #172f4a;
$custom-light: #5a677c;
$custom-dark: #000000;
JSON
{
  "hex": "#172f4a",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 211.765,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.05782,
    "h": 252.7
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#172F4A
secondary
#81603C
accent
#984CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #172F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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