#172F46#172F46

#172F46 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.8% C 0.052 H 249.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#172F46
RGBrgb(23, 47, 70)
HSLhsl(209, 51%, 18%)
HSVhsv(209, 67%, 27%)
CMYKcmyk(67.1%, 32.9%, 0%, 72.5%)
CIE-LABlab(18.62, -1.00, -17.16)
CIE-LCHlch(18.62, 17.19, 266.66°)
OKLaboklab(29.77% -0.0185 -0.0483)
OKLCHoklch(29.77% 0.052 249)
XYZxyz(2.4750, 2.6572, 6.1756)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F46 #462E17
analogous
#174645 #172F46 #171746
triadic
#172F46 #46172F #2F4617
tetradic
#172F46 #451746 #462E17 #174617
square
#172F46 #451746 #462E17 #174617
split-complementary
#172F46 #461717 #464517
monochromatic
#080F17 #081018 #172F46 #264E74 #356DA2

Accessibility & contrast

On white

13.71
#172F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#172F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F46
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F46#FFFFFF#000000##FFFFFF
##172F461.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253047
Deuteranopia (green-blind)
#1F2B46
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172f46;
/* rgb */ color: rgb(23, 47, 70);
/* oklch */ color: oklch(29.8% 0.052 249.0);
Tailwind
colors: {
  custom: {
    50: '#596779',
    500: '#172f46',
    950: '#000000',
  },
}
SCSS
$custom: #172f46;
$custom-light: #596779;
$custom-dark: #000000;
JSON
{
  "hex": "#172f46",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 70
  },
  "hsl": {
    "h": 209.362,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29768,
    "c": 0.05177,
    "h": 249
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#172F46
secondary
#7D5C3C
accent
#924EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040609
muted
#797A7B

Preview Lab

Preview with #172F46

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

Preview Lab → · Contrast checker → · Palette generator →

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