#173F6A#173F6A

#173F6A is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.3% C 0.087 H 252.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#173F6A
RGBrgb(23, 63, 106)
HSLhsl(211, 64%, 25%)
HSVhsv(211, 78%, 42%)
CMYKcmyk(78.3%, 40.6%, 0%, 58.4%)
CIE-LABlab(26.09, 2.51, -29.10)
CIE-LCHlch(26.09, 29.21, 274.92°)
OKLaboklab(36.31% -0.0257 -0.083)
OKLCHoklch(36.31% 0.087 252.8)
XYZxyz(4.7314, 4.7772, 14.3056)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F6A #6A4217
analogous
#17686A #173F6A #18176A
triadic
#173F6A #6A173F #3F6A17
tetradic
#173F6A #6A1768 #6A4217 #176A18
square
#173F6A #6A1768 #6A4217 #176A18
split-complementary
#173F6A #6A1817 #686A17
monochromatic
#050F19 #0C2138 #173F6A #225D9C #2D7BCF

Accessibility & contrast

On white

10.74
#173F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#173F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F6A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F6A#FFFFFF#000000##FFFFFF
##173F6A1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#1E3A69
Tritanopia (blue-blind)
#00494F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173f6a;
/* rgb */ color: rgb(23, 63, 106);
/* oklch */ color: oklch(36.3% 0.087 252.8);
Tailwind
colors: {
  custom: {
    50: '#617395',
    500: '#173f6a',
    950: '#000000',
  },
}
SCSS
$custom: #173f6a;
$custom-light: #617395;
$custom-dark: #000000;
JSON
{
  "hex": "#173f6a",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 106
  },
  "hsl": {
    "h": 211.084,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36314,
    "c": 0.08687,
    "h": 252.8
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#173F6A
secondary
#A0703D
accent
#9740E7
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#05080D
muted
#7A7B7E

Preview Lab

Preview with #173F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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