#172A41#172A41

#172A41 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.050 H 254.0°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#172A41
RGBrgb(23, 42, 65)
HSLhsl(213, 48%, 17%)
HSVhsv(213, 65%, 25%)
CMYKcmyk(64.6%, 35.4%, 0%, 74.5%)
CIE-LABlab(16.60, 0.56, -16.89)
CIE-LCHlch(16.60, 16.90, 271.91°)
OKLaboklab(28.1% -0.0136 -0.0476)
OKLCHoklch(28.1% 0.05 254)
XYZxyz(2.1351, 2.2196, 5.3159)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A41 #412E17
analogous
#173F41 #172A41 #191741
triadic
#172A41 #41172A #2A4117
tetradic
#172A41 #41173F #412E17 #174119
square
#172A41 #41173F #412E17 #174119
split-complementary
#172A41 #411917 #3F4117
monochromatic
#080F17 #080F17 #172A41 #27476E #37649B

Accessibility & contrast

On white

14.54
#172A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172A41
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A41#FFFFFF#000000##FFFFFF
##172A411.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B42
Deuteranopia (green-blind)
#1B2741
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172a41;
/* rgb */ color: rgb(23, 42, 65);
/* oklch */ color: oklch(28.1% 0.050 254.0);
Tailwind
colors: {
  custom: {
    50: '#586375',
    500: '#172a41',
    950: '#000000',
  },
}
SCSS
$custom: #172a41;
$custom-light: #586375;
$custom-dark: #000000;
JSON
{
  "hex": "#172a41",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 65
  },
  "hsl": {
    "h": 212.857,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28095,
    "c": 0.04951,
    "h": 254
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#172A41
secondary
#785D3C
accent
#9A50D7
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #172A41

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

Preview Lab → · Contrast checker → · Palette generator →

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