#172B40#172B40

#172B40 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.047 H 250.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#172B40
RGBrgb(23, 43, 64)
HSLhsl(211, 47%, 17%)
HSVhsv(211, 64%, 25%)
CMYKcmyk(64.1%, 32.8%, 0%, 74.9%)
CIE-LABlab(16.89, -0.54, -15.74)
CIE-LCHlch(16.89, 15.75, 268.03°)
OKLaboklab(28.31% -0.0153 -0.0443)
OKLCHoklch(28.31% 0.047 250.9)
XYZxyz(2.1423, 2.2799, 5.1767)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B40 #402C17
analogous
#174040 #172B40 #181740
triadic
#172B40 #40172B #2B4017
tetradic
#172B40 #401740 #402C17 #174018
square
#172B40 #401740 #402C17 #174018
split-complementary
#172B40 #401817 #404017
monochromatic
#080F17 #080F17 #172B40 #27496D #37679A

Accessibility & contrast

On white

14.42
#172B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172B40
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B40#FFFFFF#000000##FFFFFF
##172B401.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#1D2840
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172b40;
/* rgb */ color: rgb(23, 43, 64);
/* oklch */ color: oklch(28.3% 0.047 250.9);
Tailwind
colors: {
  custom: {
    50: '#586475',
    500: '#172b40',
    950: '#000000',
  },
}
SCSS
$custom: #172b40;
$custom-light: #586475;
$custom-dark: #000000;
JSON
{
  "hex": "#172b40",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 64
  },
  "hsl": {
    "h": 210.732,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28306,
    "c": 0.04685,
    "h": 250.9
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#172B40
secondary
#775A3C
accent
#9651D7
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #172B40

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

Preview Lab → · Contrast checker → · Palette generator →

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