#172C49#172C49

#172C49 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.060 H 256.8°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#172C49
RGBrgb(23, 44, 73)
HSLhsl(215, 52%, 19%)
HSVhsv(215, 68%, 29%)
CMYKcmyk(68.5%, 39.7%, 0%, 71.4%)
CIE-LABlab(17.76, 2.32, -20.55)
CIE-LCHlch(17.76, 20.69, 276.45°)
OKLaboklab(29.15% -0.0137 -0.0582)
OKLCHoklch(29.15% 0.06 256.8)
XYZxyz(2.4562, 2.4643, 6.6483)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C49 #493417
analogous
#174549 #172C49 #1B1749
triadic
#172C49 #49172C #2C4917
tetradic
#172C49 #491745 #493417 #17491B
square
#172C49 #491745 #493417 #17491B
split-complementary
#172C49 #491B17 #454917
monochromatic
#070E17 #08101A #172C49 #264878 #3464A6

Accessibility & contrast

On white

14.07
#172C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#172C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C49
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C49#FFFFFF#000000##FFFFFF
##172C491.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202E4A
Deuteranopia (green-blind)
#192948
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172c49;
/* rgb */ color: rgb(23, 44, 73);
/* oklch */ color: oklch(29.2% 0.060 256.8);
Tailwind
colors: {
  custom: {
    50: '#5a647c',
    500: '#172c49',
    950: '#000000',
  },
}
SCSS
$custom: #172c49;
$custom-light: #5a647c;
$custom-dark: #000000;
JSON
{
  "hex": "#172c49",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 73
  },
  "hsl": {
    "h": 214.8,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29153,
    "c": 0.05983,
    "h": 256.8
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#172C49
secondary
#80633C
accent
#9F4CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #172C49

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

Preview Lab → · Contrast checker → · Palette generator →

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