#173F4D#173F4D

#173F4D is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.6% C 0.051 H 224.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#173F4D
RGBrgb(23, 63, 77)
HSLhsl(196, 54%, 20%)
HSVhsv(196, 70%, 30%)
CMYKcmyk(70.1%, 18.2%, 0%, 69.8%)
CIE-LABlab(24.55, -8.93, -12.65)
CIE-LCHlch(24.55, 15.48, 234.78°)
OKLaboklab(34.6% -0.0362 -0.0353)
OKLCHoklch(34.6% 0.051 224.3)
XYZxyz(3.4699, 4.2726, 7.6616)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F4D #4D2517
analogous
#174D40 #173F4D #17244D
triadic
#173F4D #4D173F #3F4D17
tetradic
#173F4D #40174D #4D2517 #244D17
square
#173F4D #40174D #4D2517 #244D17
split-complementary
#173F4D #4D1724 #4D4017
monochromatic
#071318 #09181E #173F4D #25667C #338CAB

Accessibility & contrast

On white

11.32
#173F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F4D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F4D#FFFFFF#000000##FFFFFF
##173F4D1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4E
Deuteranopia (green-blind)
#30384D
Tritanopia (blue-blind)
#004343
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173f4d;
/* rgb */ color: rgb(23, 63, 77);
/* oklch */ color: oklch(34.6% 0.051 224.3);
Tailwind
colors: {
  custom: {
    50: '#5b747e',
    500: '#173f4d',
    950: '#000000',
  },
}
SCSS
$custom: #173f4d;
$custom-light: #5b747e;
$custom-dark: #000000;
JSON
{
  "hex": "#173f4d",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 77
  },
  "hsl": {
    "h": 195.556,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34595,
    "c": 0.05054,
    "h": 224.3
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#173F4D
secondary
#844E3C
accent
#714ADD
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #173F4D

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

Preview Lab → · Contrast checker → · Palette generator →

#173F4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva