#172B39#172B39

#172B39 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.037 H 240.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#172B39
RGBrgb(23, 43, 57)
HSLhsl(205, 43%, 16%)
HSVhsv(205, 60%, 22%)
CMYKcmyk(59.6%, 24.6%, 0%, 77.6%)
CIE-LABlab(16.53, -3.21, -11.45)
CIE-LCHlch(16.53, 11.89, 254.36°)
OKLaboklab(27.9% -0.0181 -0.0319)
OKLCHoklch(27.9% 0.037 240.4)
XYZxyz(1.9555, 2.2052, 4.1927)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B39 #392517
analogous
#173936 #172B39 #171A39
triadic
#172B39 #39172B #2B3917
tetradic
#172B39 #361739 #392517 #1A3917
square
#172B39 #361739 #392517 #1A3917
split-complementary
#172B39 #39171A #393617
monochromatic
#091016 #091016 #172B39 #294C65 #3A6D90

Accessibility & contrast

On white

14.57
#172B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172B39
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B39#FFFFFF#000000##FFFFFF
##172B391.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#202739
Tritanopia (blue-blind)
#052E30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172b39;
/* rgb */ color: rgb(23, 43, 57);
/* oklch */ color: oklch(27.9% 0.037 240.4);
Tailwind
colors: {
  custom: {
    50: '#57646f',
    500: '#172b39',
    950: '#000000',
  },
}
SCSS
$custom: #172b39;
$custom-light: #57646f;
$custom-dark: #000000;
JSON
{
  "hex": "#172b39",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 57
  },
  "hsl": {
    "h": 204.706,
    "s": 42.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.279,
    "c": 0.03671,
    "h": 240.4
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#172B39
secondary
#6F513C
accent
#8956D2
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#030507
muted
#78797A

Preview Lab

Preview with #172B39

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

Preview Lab → · Contrast checker → · Palette generator →

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