#172F47#172F47

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

Color values

HEX#172F47
RGBrgb(23, 47, 71)
HSLhsl(210, 51%, 18%)
HSVhsv(210, 68%, 28%)
CMYKcmyk(67.6%, 33.8%, 0%, 72.2%)
CIE-LABlab(18.67, -0.61, -17.76)
CIE-LCHlch(18.67, 17.77, 268.04°)
OKLaboklab(29.83% -0.0182 -0.0501)
OKLCHoklch(29.83% 0.053 250)
XYZxyz(2.5068, 2.6699, 6.3432)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F47 #472F17
analogous
#174747 #172F47 #171747
triadic
#172F47 #47172F #2F4717
tetradic
#172F47 #471747 #472F17 #174717
square
#172F47 #471747 #472F17 #174717
split-complementary
#172F47 #471717 #474717
monochromatic
#070F17 #081019 #172F47 #264E75 #356CA3

Accessibility & contrast

On white

13.69
#172F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172F47
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F47#FFFFFF#000000##FFFFFF
##172F471.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253048
Deuteranopia (green-blind)
#1E2B47
Tritanopia (blue-blind)
#003537
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172f47;
/* rgb */ color: rgb(23, 47, 71);
/* oklch */ color: oklch(29.8% 0.053 250.0);
Tailwind
colors: {
  custom: {
    50: '#59677a',
    500: '#172f47',
    950: '#000000',
  },
}
SCSS
$custom: #172f47;
$custom-light: #59677a;
$custom-dark: #000000;
JSON
{
  "hex": "#172f47",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 71
  },
  "hsl": {
    "h": 210,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2983,
    "c": 0.05326,
    "h": 250
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#172F47
secondary
#7E5D3C
accent
#944DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040609
muted
#797A7B

Preview Lab

Preview with #172F47

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

Preview Lab → · Contrast checker → · Palette generator →

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