#172B36#172B36

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

Color values

HEX#172B36
RGBrgb(23, 43, 54)
HSLhsl(201, 40%, 15%)
HSVhsv(201, 57%, 21%)
CMYKcmyk(57.4%, 20.4%, 0%, 78.8%)
CIE-LABlab(16.39, -4.30, -9.58)
CIE-LCHlch(16.39, 10.50, 245.80°)
OKLaboklab(27.74% -0.0195 -0.0266)
OKLCHoklch(27.74% 0.033 233.8)
XYZxyz(1.8828, 2.1761, 3.8101)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B36 #362217
analogous
#173631 #172B36 #171C36
triadic
#172B36 #36172B #2B3617
tetradic
#172B36 #311736 #362217 #1C3617
square
#172B36 #311736 #362217 #1C3617
split-complementary
#172B36 #36171C #363117
monochromatic
#091115 #091115 #172B36 #294D61 #3C6F8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##172B36#FFFFFF#000000##FFFFFF
##172B361.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)
#262A37
Deuteranopia (green-blind)
#212736
Tritanopia (blue-blind)
#082E2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172b36;
/* rgb */ color: rgb(23, 43, 54);
/* oklch */ color: oklch(27.7% 0.033 233.8);
Tailwind
colors: {
  custom: {
    50: '#56646d',
    500: '#172b36',
    950: '#000000',
  },
}
SCSS
$custom: #172b36;
$custom-light: #56646d;
$custom-dark: #000000;
JSON
{
  "hex": "#172b36",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 54
  },
  "hsl": {
    "h": 201.29,
    "s": 40.26,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27739,
    "c": 0.03296,
    "h": 233.8
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#172B36
secondary
#6C4D3D
accent
#8258D0
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#030507
muted
#78797A

Preview Lab

Preview with #172B36

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

Preview Lab → · Contrast checker → · Palette generator →

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