#172B3E#172B3E

#172B3E is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.044 H 248.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#172B3E
RGBrgb(23, 43, 62)
HSLhsl(209, 46%, 17%)
HSVhsv(209, 63%, 24%)
CMYKcmyk(62.9%, 30.6%, 0%, 75.7%)
CIE-LABlab(16.78, -1.31, -14.53)
CIE-LCHlch(16.78, 14.59, 264.83°)
OKLaboklab(28.19% -0.0161 -0.0407)
OKLCHoklch(28.19% 0.044 248.4)
XYZxyz(2.0864, 2.2575, 4.8823)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B3E #3E2A17
analogous
#173E3E #172B3E #17183E
triadic
#172B3E #3E172B #2B3E17
tetradic
#172B3E #3E173E #3E2A17 #183E17
square
#172B3E #3E173E #3E2A17 #183E17
split-complementary
#172B3E #3E1718 #3E3E17
monochromatic
#080F16 #080F16 #172B3E #284A6B #386997

Accessibility & contrast

On white

14.47
#172B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#172B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B3E
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B3E#FFFFFF#000000##FFFFFF
##172B3E1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C3F
Deuteranopia (green-blind)
#1E283E
Tritanopia (blue-blind)
#012F32
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172b3e;
/* rgb */ color: rgb(23, 43, 62);
/* oklch */ color: oklch(28.2% 0.044 248.4);
Tailwind
colors: {
  custom: {
    50: '#586473',
    500: '#172b3e',
    950: '#000000',
  },
}
SCSS
$custom: #172b3e;
$custom-light: #586473;
$custom-dark: #000000;
JSON
{
  "hex": "#172b3e",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 62
  },
  "hsl": {
    "h": 209.231,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28186,
    "c": 0.04382,
    "h": 248.4
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#172B3E
secondary
#75583C
accent
#9252D6
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #172B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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