#172A3D#172A3D

#172A3D is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.043 H 249.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#172A3D
RGBrgb(23, 42, 61)
HSLhsl(210, 45%, 16%)
HSVhsv(210, 62%, 24%)
CMYKcmyk(62.3%, 31.1%, 0%, 76.1%)
CIE-LABlab(16.38, -0.99, -14.47)
CIE-LCHlch(16.38, 14.50, 266.08°)
OKLaboklab(27.85% -0.0151 -0.0406)
OKLCHoklch(27.85% 0.043 249.6)
XYZxyz(2.0233, 2.1748, 4.7271)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A3D #3D2A17
analogous
#173D3D #172A3D #17173D
triadic
#172A3D #3D172A #2A3D17
tetradic
#172A3D #3D173D #3D2A17 #173D17
square
#172A3D #3D173D #3D2A17 #173D17
split-complementary
#172A3D #3D1717 #3D3D17
monochromatic
#080F16 #080F16 #172A3D #284969 #396796

Accessibility & contrast

On white

14.63
#172A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172A3D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A3D#FFFFFF#000000##FFFFFF
##172A3D1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3E
Deuteranopia (green-blind)
#1D273D
Tritanopia (blue-blind)
#022E31
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172a3d;
/* rgb */ color: rgb(23, 42, 61);
/* oklch */ color: oklch(27.9% 0.043 249.6);
Tailwind
colors: {
  custom: {
    50: '#576372',
    500: '#172a3d',
    950: '#000000',
  },
}
SCSS
$custom: #172a3d;
$custom-light: #576372;
$custom-dark: #000000;
JSON
{
  "hex": "#172a3d",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 61
  },
  "hsl": {
    "h": 210,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2785,
    "c": 0.04329,
    "h": 249.6
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#172A3D
secondary
#74583C
accent
#9453D5
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#030508
muted
#78797B

Preview Lab

Preview with #172A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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