#173C5F#173C5F

#173C5F is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.8% C 0.074 H 249.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#173C5F
RGBrgb(23, 60, 95)
HSLhsl(209, 61%, 23%)
HSVhsv(209, 76%, 37%)
CMYKcmyk(75.8%, 36.8%, 0%, 62.7%)
CIE-LABlab(24.45, 0.06, -24.61)
CIE-LCHlch(24.45, 24.61, 270.14°)
OKLaboklab(34.82% -0.0258 -0.0699)
OKLCHoklch(34.82% 0.074 249.8)
XYZxyz(4.0340, 4.2397, 11.4300)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C5F #5F3A17
analogous
#175F5E #173C5F #17185F
triadic
#173C5F #5F173C #3C5F17
tetradic
#173C5F #5E175F #5F3A17 #185F17
square
#173C5F #5E175F #5F3A17 #185F17
split-complementary
#173C5F #5F1718 #5F5E17
monochromatic
#061019 #0B1D2E #173C5F #235B90 #2F7AC2

Accessibility & contrast

On white

11.36
#173C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C5F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C5F#FFFFFF#000000##FFFFFF
##173C5F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E60
Deuteranopia (green-blind)
#22375E
Tritanopia (blue-blind)
#004449
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173c5f;
/* rgb */ color: rgb(23, 60, 95);
/* oklch */ color: oklch(34.8% 0.074 249.8);
Tailwind
colors: {
  custom: {
    50: '#5e718c',
    500: '#173c5f',
    950: '#000000',
  },
}
SCSS
$custom: #173c5f;
$custom-light: #5e718c;
$custom-dark: #000000;
JSON
{
  "hex": "#173c5f",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 95
  },
  "hsl": {
    "h": 209.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34815,
    "c": 0.07446,
    "h": 249.8
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#173C5F
secondary
#96683C
accent
#9244E4
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #173C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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