#172B41#172B41

#172B41 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.048 H 252.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#172B41
RGBrgb(23, 43, 65)
HSLhsl(211, 48%, 17%)
HSVhsv(211, 65%, 25%)
CMYKcmyk(64.6%, 33.8%, 0%, 74.5%)
CIE-LABlab(16.95, -0.15, -16.35)
CIE-LCHlch(16.95, 16.35, 269.47°)
OKLaboklab(28.37% -0.015 -0.046)
OKLCHoklch(28.37% 0.048 252)
XYZxyz(2.1710, 2.2914, 5.3279)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B41 #412D17
analogous
#174041 #172B41 #181741
triadic
#172B41 #41172B #2B4117
tetradic
#172B41 #411740 #412D17 #174118
square
#172B41 #411740 #412D17 #174118
split-complementary
#172B41 #411817 #404117
monochromatic
#080F17 #080F17 #172B41 #27496E #37679B

Accessibility & contrast

On white

14.40
#172B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#172B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B41
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B41#FFFFFF#000000##FFFFFF
##172B411.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C42
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172b41;
/* rgb */ color: rgb(23, 43, 65);
/* oklch */ color: oklch(28.4% 0.048 252.0);
Tailwind
colors: {
  custom: {
    50: '#586475',
    500: '#172b41',
    950: '#000000',
  },
}
SCSS
$custom: #172b41;
$custom-light: #586475;
$custom-dark: #000000;
JSON
{
  "hex": "#172b41",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 65
  },
  "hsl": {
    "h": 211.429,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28368,
    "c": 0.04839,
    "h": 252
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#172B41
secondary
#785B3C
accent
#9750D7
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #172B41

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

Preview Lab → · Contrast checker → · Palette generator →

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