#172E41#172E41

#172E41 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.045 H 245.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#172E41
RGBrgb(23, 46, 65)
HSLhsl(207, 48%, 17%)
HSVhsv(207, 65%, 25%)
CMYKcmyk(64.6%, 29.2%, 0%, 74.5%)
CIE-LABlab(18.00, -2.26, -14.71)
CIE-LCHlch(18.00, 14.88, 261.28°)
OKLaboklab(29.19% -0.0191 -0.0412)
OKLCHoklch(29.19% 0.045 245.2)
XYZxyz(2.2841, 2.5176, 5.3656)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E41 #412A17
analogous
#17413F #172E41 #171941
triadic
#172E41 #41172E #2E4117
tetradic
#172E41 #3F1741 #412A17 #194117
square
#172E41 #3F1741 #412A17 #194117
split-complementary
#172E41 #411719 #413F17
monochromatic
#081017 #081017 #172E41 #274E6E #376E9B

Accessibility & contrast

On white

13.97
#172E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#172E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E41
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E41#FFFFFF#000000##FFFFFF
##172E411.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E42
Deuteranopia (green-blind)
#202A41
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172e41;
/* rgb */ color: rgb(23, 46, 65);
/* oklch */ color: oklch(29.2% 0.045 245.2);
Tailwind
colors: {
  custom: {
    50: '#586675',
    500: '#172e41',
    950: '#000000',
  },
}
SCSS
$custom: #172e41;
$custom-light: #586675;
$custom-dark: #000000;
JSON
{
  "hex": "#172e41",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 65
  },
  "hsl": {
    "h": 207.143,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29194,
    "c": 0.04545,
    "h": 245.2
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#172E41
secondary
#78573C
accent
#8D50D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #172E41

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

Preview Lab → · Contrast checker → · Palette generator →

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