#172C40#172C40

#172C40 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.046 H 248.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#172C40
RGBrgb(23, 44, 64)
HSLhsl(209, 47%, 17%)
HSVhsv(209, 64%, 25%)
CMYKcmyk(64.1%, 31.2%, 0%, 74.9%)
CIE-LABlab(17.24, -1.25, -15.20)
CIE-LCHlch(17.24, 15.25, 265.31°)
OKLaboklab(28.58% -0.0167 -0.0427)
OKLCHoklch(28.58% 0.046 248.6)
XYZxyz(2.1791, 2.3535, 5.1889)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C40 #402B17
analogous
#174040 #172C40 #171840
triadic
#172C40 #40172C #2C4017
tetradic
#172C40 #401740 #402B17 #184017
square
#172C40 #401740 #402B17 #184017
split-complementary
#172C40 #401718 #404017
monochromatic
#080F17 #080F17 #172C40 #274B6D #376A9A

Accessibility & contrast

On white

14.28
#172C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172C40
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C40#FFFFFF#000000##FFFFFF
##172C401.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D41
Deuteranopia (green-blind)
#1E2940
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172c40;
/* rgb */ color: rgb(23, 44, 64);
/* oklch */ color: oklch(28.6% 0.046 248.6);
Tailwind
colors: {
  custom: {
    50: '#586475',
    500: '#172c40',
    950: '#000000',
  },
}
SCSS
$custom: #172c40;
$custom-light: #586475;
$custom-dark: #000000;
JSON
{
  "hex": "#172c40",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 209.268,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28582,
    "c": 0.04583,
    "h": 248.6
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#172C40
secondary
#77593C
accent
#9251D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #172C40

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

Preview Lab → · Contrast checker → · Palette generator →

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