#172A36#172A36

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

Color values

HEX#172A36
RGBrgb(23, 42, 54)
HSLhsl(203, 40%, 15%)
HSVhsv(203, 57%, 21%)
CMYKcmyk(57.4%, 22.2%, 0%, 78.8%)
CIE-LABlab(16.03, -3.62, -10.13)
CIE-LCHlch(16.03, 10.76, 250.35°)
OKLaboklab(27.45% -0.018 -0.0282)
OKLCHoklch(27.45% 0.033 237.5)
XYZxyz(1.8469, 2.1043, 3.7982)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A36 #362317
analogous
#173633 #172A36 #171A36
triadic
#172A36 #36172A #2A3617
tetradic
#172A36 #331736 #362317 #1A3617
square
#172A36 #331736 #362317 #1A3617
split-complementary
#172A36 #36171A #363317
monochromatic
#091115 #091115 #172A36 #294B61 #3C6D8C

Accessibility & contrast

On white

14.78
#172A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172A36
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A36#FFFFFF#000000##FFFFFF
##172A361.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A37
Deuteranopia (green-blind)
#202636
Tritanopia (blue-blind)
#082D2E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172a36;
/* rgb */ color: rgb(23, 42, 54);
/* oklch */ color: oklch(27.5% 0.033 237.5);
Tailwind
colors: {
  custom: {
    50: '#56636d',
    500: '#172a36',
    950: '#000000',
  },
}
SCSS
$custom: #172a36;
$custom-light: #56636d;
$custom-dark: #000000;
JSON
{
  "hex": "#172a36",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 203.226,
    "s": 40.26,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27453,
    "c": 0.03341,
    "h": 237.5
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#172A36
secondary
#6C4F3D
accent
#8658D0
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#030507
muted
#78797A

Preview Lab

Preview with #172A36

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

Preview Lab → · Contrast checker → · Palette generator →

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