#172F41#172F41

#172F41 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.045 H 242.7°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#172F41
RGBrgb(23, 47, 65)
HSLhsl(206, 48%, 17%)
HSVhsv(206, 65%, 25%)
CMYKcmyk(64.6%, 27.7%, 0%, 74.5%)
CIE-LABlab(18.35, -2.95, -14.16)
CIE-LCHlch(18.35, 14.46, 258.25°)
OKLaboklab(29.47% -0.0205 -0.0397)
OKLCHoklch(29.47% 0.045 242.7)
XYZxyz(2.3236, 2.5966, 5.3788)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F41 #412917
analogous
#17413E #172F41 #171A41
triadic
#172F41 #41172F #2F4117
tetradic
#172F41 #3E1741 #412917 #1A4117
square
#172F41 #3E1741 #412917 #1A4117
split-complementary
#172F41 #41171A #413E17
monochromatic
#081017 #081017 #172F41 #27506E #37709B

Accessibility & contrast

On white

13.82
#172F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#172F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F41
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F41#FFFFFF#000000##FFFFFF
##172F411.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F42
Deuteranopia (green-blind)
#212B41
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172f41;
/* rgb */ color: rgb(23, 47, 65);
/* oklch */ color: oklch(29.5% 0.045 242.7);
Tailwind
colors: {
  custom: {
    50: '#586775',
    500: '#172f41',
    950: '#000000',
  },
}
SCSS
$custom: #172f41;
$custom-light: #586775;
$custom-dark: #000000;
JSON
{
  "hex": "#172f41",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 65
  },
  "hsl": {
    "h": 205.714,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.04464,
    "h": 242.7
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#172F41
secondary
#78563C
accent
#8A50D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #172F41

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

Preview Lab → · Contrast checker → · Palette generator →

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