#172C47#172C47

#172C47 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 29.0% C 0.057 H 255.4°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#172C47
RGBrgb(23, 44, 71)
HSLhsl(214, 51%, 18%)
HSVhsv(214, 68%, 28%)
CMYKcmyk(67.6%, 38%, 0%, 72.2%)
CIE-LABlab(17.64, 1.52, -19.38)
CIE-LCHlch(17.64, 19.44, 274.48°)
OKLaboklab(29.02% -0.0143 -0.0548)
OKLCHoklch(29.02% 0.057 255.4)
XYZxyz(2.3910, 2.4382, 6.3046)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C47 #473217
analogous
#174447 #172C47 #1A1747
triadic
#172C47 #47172C #2C4717
tetradic
#172C47 #471744 #473217 #17471A
square
#172C47 #471744 #473217 #17471A
split-complementary
#172C47 #471A17 #444717
monochromatic
#070E17 #080F19 #172C47 #264975 #3565A3

Accessibility & contrast

On white

14.12
#172C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172C47
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C47#FFFFFF#000000##FFFFFF
##172C471.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E48
Deuteranopia (green-blind)
#1A2946
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172c47;
/* rgb */ color: rgb(23, 44, 71);
/* oklch */ color: oklch(29.0% 0.057 255.4);
Tailwind
colors: {
  custom: {
    50: '#59647a',
    500: '#172c47',
    950: '#000000',
  },
}
SCSS
$custom: #172c47;
$custom-light: #59647a;
$custom-dark: #000000;
JSON
{
  "hex": "#172c47",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 71
  },
  "hsl": {
    "h": 213.75,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2902,
    "c": 0.05665,
    "h": 255.4
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#172C47
secondary
#7E613C
accent
#9D4DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #172C47

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

Preview Lab → · Contrast checker → · Palette generator →

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