#172C3E#172C3E

#172C3E is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.043 H 245.9°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#172C3E
RGBrgb(23, 44, 62)
HSLhsl(208, 46%, 17%)
HSVhsv(208, 63%, 24%)
CMYKcmyk(62.9%, 29%, 0%, 75.7%)
CIE-LABlab(17.14, -2.01, -13.98)
CIE-LCHlch(17.14, 14.12, 261.80°)
OKLaboklab(28.46% -0.0175 -0.0392)
OKLCHoklch(28.46% 0.043 245.9)
XYZxyz(2.1232, 2.3311, 4.8946)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C3E #3E2917
analogous
#173E3D #172C3E #17193E
triadic
#172C3E #3E172C #2C3E17
tetradic
#172C3E #3D173E #3E2917 #193E17
square
#172C3E #3D173E #3E2917 #193E17
split-complementary
#172C3E #3E1719 #3E3D17
monochromatic
#081016 #081016 #172C3E #284C6B #386B97

Accessibility & contrast

On white

14.32
#172C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#172C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C3E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C3E#FFFFFF#000000##FFFFFF
##172C3E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3F
Deuteranopia (green-blind)
#1F283E
Tritanopia (blue-blind)
#013032
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172c3e;
/* rgb */ color: rgb(23, 44, 62);
/* oklch */ color: oklch(28.5% 0.043 245.9);
Tailwind
colors: {
  custom: {
    50: '#586473',
    500: '#172c3e',
    950: '#000000',
  },
}
SCSS
$custom: #172c3e;
$custom-light: #586473;
$custom-dark: #000000;
JSON
{
  "hex": "#172c3e",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 62
  },
  "hsl": {
    "h": 207.692,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28464,
    "c": 0.0429,
    "h": 245.9
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#172C3E
secondary
#75563C
accent
#8F52D6
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030508
muted
#787A7B

Preview Lab

Preview with #172C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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