#172C3F#172C3F

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

Color values

HEX#172C3F
RGBrgb(23, 44, 63)
HSLhsl(209, 47%, 17%)
HSVhsv(209, 63%, 25%)
CMYKcmyk(63.5%, 30.2%, 0%, 75.3%)
CIE-LABlab(17.19, -1.63, -14.59)
CIE-LCHlch(17.19, 14.68, 263.62°)
OKLaboklab(28.52% -0.0171 -0.0409)
OKLCHoklch(28.52% 0.044 247.3)
XYZxyz(2.1509, 2.3422, 5.0404)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C3F #3F2A17
analogous
#173F3E #172C3F #17183F
triadic
#172C3F #3F172C #2C3F17
tetradic
#172C3F #3E173F #3F2A17 #183F17
square
#172C3F #3E173F #3F2A17 #183F17
split-complementary
#172C3F #3F1718 #3F3E17
monochromatic
#081016 #081016 #172C3F #274B6C #386B99

Accessibility & contrast

On white

14.30
#172C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172C3F
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C3F#FFFFFF#000000##FFFFFF
##172C3F1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D40
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172c3f;
/* rgb */ color: rgb(23, 44, 63);
/* oklch */ color: oklch(28.5% 0.044 247.3);
Tailwind
colors: {
  custom: {
    50: '#586474',
    500: '#172c3f',
    950: '#000000',
  },
}
SCSS
$custom: #172c3f;
$custom-light: #586474;
$custom-dark: #000000;
JSON
{
  "hex": "#172c3f",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 63
  },
  "hsl": {
    "h": 208.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28522,
    "c": 0.04435,
    "h": 247.3
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#172C3F
secondary
#76573C
accent
#9152D6
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #172C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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