#173A4F#173A4F

#173A4F is a dark, muted cyan. Relative luminance 0.038; OKLCH L 33.3% C 0.055 H 237.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#173A4F
RGBrgb(23, 58, 79)
HSLhsl(203, 55%, 20%)
HSVhsv(203, 71%, 31%)
CMYKcmyk(70.9%, 26.6%, 0%, 69%)
CIE-LABlab(22.90, -4.95, -16.52)
CIE-LCHlch(22.90, 17.25, 253.31°)
OKLaboklab(33.31% -0.0291 -0.0464)
OKLCHoklch(33.31% 0.055 237.9)
XYZxyz(3.2771, 3.7724, 7.9511)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A4F #4F2C17
analogous
#174F48 #173A4F #171E4F
triadic
#173A4F #4F173A #3A4F17
tetradic
#173A4F #48174F #4F2C17 #1E4F17
square
#173A4F #48174F #4F2C17 #1E4F17
split-complementary
#173A4F #4F171E #4F4817
monochromatic
#071118 #091720 #173A4F #255D7E #3380AE

Accessibility & contrast

On white

11.97
#173A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A4F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A4F#FFFFFF#000000##FFFFFF
##173A4F1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A50
Deuteranopia (green-blind)
#29344F
Tritanopia (blue-blind)
#003F41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173a4f;
/* rgb */ color: rgb(23, 58, 79);
/* oklch */ color: oklch(33.3% 0.055 237.9);
Tailwind
colors: {
  custom: {
    50: '#5b7080',
    500: '#173a4f',
    950: '#000000',
  },
}
SCSS
$custom: #173a4f;
$custom-light: #5b7080;
$custom-dark: #000000;
JSON
{
  "hex": "#173a4f",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 79
  },
  "hsl": {
    "h": 202.5,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.33313,
    "c": 0.05477,
    "h": 237.9
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#173A4F
secondary
#86583C
accent
#814ADE
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #173A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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