#172C42#172C42

#172C42 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.049 H 250.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#172C42
RGBrgb(23, 44, 66)
HSLhsl(211, 48%, 17%)
HSVhsv(211, 65%, 26%)
CMYKcmyk(65.2%, 33.3%, 0%, 74.1%)
CIE-LABlab(17.35, -0.47, -16.40)
CIE-LCHlch(17.35, 16.41, 268.37°)
OKLaboklab(28.7% -0.016 -0.0462)
OKLCHoklch(28.7% 0.049 250.9)
XYZxyz(2.2370, 2.3767, 5.4941)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C42 #422D17
analogous
#174242 #172C42 #181742
triadic
#172C42 #42172C #2C4217
tetradic
#172C42 #421742 #422D17 #174218
square
#172C42 #421742 #422D17 #174218
split-complementary
#172C42 #421817 #424217
monochromatic
#080F17 #080F17 #172C42 #274A6F #37699D

Accessibility & contrast

On white

14.23
#172C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#172C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C42
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C42#FFFFFF#000000##FFFFFF
##172C421.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#1D2942
Tritanopia (blue-blind)
#003134
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172c42;
/* rgb */ color: rgb(23, 44, 66);
/* oklch */ color: oklch(28.7% 0.049 250.9);
Tailwind
colors: {
  custom: {
    50: '#586476',
    500: '#172c42',
    950: '#000000',
  },
}
SCSS
$custom: #172c42;
$custom-light: #586476;
$custom-dark: #000000;
JSON
{
  "hex": "#172c42",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 210.698,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28703,
    "c": 0.04886,
    "h": 250.9
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#172C42
secondary
#795B3C
accent
#9550D8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #172C42

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

Preview Lab → · Contrast checker → · Palette generator →

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