#173F5D#173F5D

#173F5D is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.5% C 0.069 H 244.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#173F5D
RGBrgb(23, 63, 93)
HSLhsl(206, 60%, 23%)
HSVhsv(206, 75%, 36%)
CMYKcmyk(75.3%, 32.3%, 0%, 63.5%)
CIE-LABlab(25.34, -2.76, -21.90)
CIE-LCHlch(25.34, 22.07, 262.82°)
OKLaboklab(35.48% -0.0298 -0.0619)
OKLCHoklch(35.48% 0.069 244.3)
XYZxyz(4.1059, 4.5270, 11.0112)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F5D #5D3517
analogous
#175D58 #173F5D #171C5D
triadic
#173F5D #5D173F #3F5D17
tetradic
#173F5D #58175D #5D3517 #1C5D17
square
#173F5D #58175D #5D3517 #1C5D17
split-complementary
#173F5D #5D171C #5D5817
monochromatic
#061119 #0B1E2C #173F5D #23608E #2F81BF

Accessibility & contrast

On white

11.02
#173F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#173F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F5D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F5D#FFFFFF#000000##FFFFFF
##173F5D1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405E
Deuteranopia (green-blind)
#28395C
Tritanopia (blue-blind)
#00464A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173f5d;
/* rgb */ color: rgb(23, 63, 93);
/* oklch */ color: oklch(35.5% 0.069 244.3);
Tailwind
colors: {
  custom: {
    50: '#5e738b',
    500: '#173f5d',
    950: '#000000',
  },
}
SCSS
$custom: #173f5d;
$custom-light: #5e738b;
$custom-dark: #000000;
JSON
{
  "hex": "#173f5d",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 93
  },
  "hsl": {
    "h": 205.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35482,
    "c": 0.06871,
    "h": 244.3
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#173F5D
secondary
#94623C
accent
#8944E3
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #173F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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