#172A3F#172A3F

#172A3F is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.046 H 252.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#172A3F
RGBrgb(23, 42, 63)
HSLhsl(212, 47%, 17%)
HSVhsv(212, 63%, 25%)
CMYKcmyk(63.5%, 33.3%, 0%, 75.3%)
CIE-LABlab(16.49, -0.22, -15.68)
CIE-LCHlch(16.49, 15.69, 269.20°)
OKLaboklab(27.97% -0.0143 -0.0441)
OKLCHoklch(27.97% 0.046 252)
XYZxyz(2.0782, 2.1968, 5.0162)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A3F #3F2C17
analogous
#173E3F #172A3F #18173F
triadic
#172A3F #3F172A #2A3F17
tetradic
#172A3F #3F173E #3F2C17 #173F18
square
#172A3F #3F173E #3F2C17 #173F18
split-complementary
#172A3F #3F1817 #3E3F17
monochromatic
#080F16 #080F16 #172A3F #27486C #386699

Accessibility & contrast

On white

14.59
#172A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#172A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172A3F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A3F#FFFFFF#000000##FFFFFF
##172A3F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#1C273F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172a3f;
/* rgb */ color: rgb(23, 42, 63);
/* oklch */ color: oklch(28.0% 0.046 252.0);
Tailwind
colors: {
  custom: {
    50: '#586374',
    500: '#172a3f',
    950: '#000000',
  },
}
SCSS
$custom: #172a3f;
$custom-light: #586374;
$custom-dark: #000000;
JSON
{
  "hex": "#172a3f",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 211.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27971,
    "c": 0.04637,
    "h": 252
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#172A3F
secondary
#765A3C
accent
#9752D6
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #172A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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