#172A34#172A34

#172A34 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.3% C 0.031 H 232.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#172A34
RGBrgb(23, 42, 52)
HSLhsl(201, 39%, 15%)
HSVhsv(201, 56%, 20%)
CMYKcmyk(55.8%, 19.2%, 0%, 79.6%)
CIE-LABlab(15.93, -4.34, -8.87)
CIE-LCHlch(15.93, 9.88, 243.94°)
OKLaboklab(27.35% -0.0189 -0.0246)
OKLCHoklch(27.35% 0.031 232.5)
XYZxyz(1.8009, 2.0859, 3.5559)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A34 #342117
analogous
#173430 #172A34 #171B34
triadic
#172A34 #34172A #2A3417
tetradic
#172A34 #301734 #342117 #1B3417
square
#172A34 #301734 #342117 #1B3417
split-complementary
#172A34 #34171B #343017
monochromatic
#091115 #091115 #172A34 #2A4C5E #3D6F89

Accessibility & contrast

On white

14.82
#172A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172A34
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A34#FFFFFF#000000##FFFFFF
##172A341.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252935
Deuteranopia (green-blind)
#212634
Tritanopia (blue-blind)
#092D2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172a34;
/* rgb */ color: rgb(23, 42, 52);
/* oklch */ color: oklch(27.3% 0.031 232.5);
Tailwind
colors: {
  custom: {
    50: '#56636b',
    500: '#172a34',
    950: '#000000',
  },
}
SCSS
$custom: #172a34;
$custom-light: #56636b;
$custom-dark: #000000;
JSON
{
  "hex": "#172a34",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 200.69,
    "s": 38.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27348,
    "c": 0.031,
    "h": 232.5
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#172A34
secondary
#6A4C3D
accent
#8259CF
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#030506
muted
#78797A

Preview Lab

Preview with #172A34

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

Preview Lab → · Contrast checker → · Palette generator →

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