#172A37#172A37

#172A37 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.035 H 239.7°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#172A37
RGBrgb(23, 42, 55)
HSLhsl(204, 41%, 15%)
HSVhsv(204, 58%, 22%)
CMYKcmyk(58.2%, 23.6%, 0%, 78.4%)
CIE-LABlab(16.07, -3.25, -10.76)
CIE-LCHlch(16.07, 11.24, 253.19°)
OKLaboklab(27.51% -0.0175 -0.0299)
OKLCHoklch(27.51% 0.035 239.7)
XYZxyz(1.8707, 2.1138, 3.9231)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A37 #372417
analogous
#173734 #172A37 #171A37
triadic
#172A37 #37172A #2A3717
tetradic
#172A37 #341737 #372417 #1A3717
square
#172A37 #341737 #372417 #1A3717
split-complementary
#172A37 #37171A #373417
monochromatic
#091016 #091016 #172A37 #294B62 #3B6C8D

Accessibility & contrast

On white

14.76
#172A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#172A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172A37
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A37#FFFFFF#000000##FFFFFF
##172A371.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A38
Deuteranopia (green-blind)
#202637
Tritanopia (blue-blind)
#072D2E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172a37;
/* rgb */ color: rgb(23, 42, 55);
/* oklch */ color: oklch(27.5% 0.035 239.7);
Tailwind
colors: {
  custom: {
    50: '#56636d',
    500: '#172a37',
    950: '#000000',
  },
}
SCSS
$custom: #172a37;
$custom-light: #56636d;
$custom-dark: #000000;
JSON
{
  "hex": "#172a37",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 55
  },
  "hsl": {
    "h": 204.375,
    "s": 41.026,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27507,
    "c": 0.03469,
    "h": 239.7
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#172A37
secondary
#6D503D
accent
#8857D1
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#030507
muted
#78797A

Preview Lab

Preview with #172A37

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

Preview Lab → · Contrast checker → · Palette generator →

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