#173D6A#173D6A

#173D6A is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.8% C 0.089 H 254.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#173D6A
RGBrgb(23, 61, 106)
HSLhsl(213, 64%, 25%)
HSVhsv(213, 78%, 42%)
CMYKcmyk(78.3%, 42.5%, 0%, 58.4%)
CIE-LABlab(25.44, 3.88, -30.14)
CIE-LCHlch(25.44, 30.39, 277.34°)
OKLaboklab(35.81% -0.0237 -0.086)
OKLCHoklch(35.81% 0.089 254.6)
XYZxyz(4.6226, 4.5597, 14.2694)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D6A #6A4417
analogous
#17666A #173D6A #1A176A
triadic
#173D6A #6A173D #3D6A17
tetradic
#173D6A #6A1766 #6A4417 #176A1A
square
#173D6A #6A1766 #6A4417 #176A1A
split-complementary
#173D6A #6A1A17 #666A17
monochromatic
#050E19 #0C2038 #173D6A #225A9C #2D77CF

Accessibility & contrast

On white

10.98
#173D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D6A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D6A#FFFFFF#000000##FFFFFF
##173D6A1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28406C
Deuteranopia (green-blind)
#1A3969
Tritanopia (blue-blind)
#00484E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173d6a;
/* rgb */ color: rgb(23, 61, 106);
/* oklch */ color: oklch(35.8% 0.089 254.6);
Tailwind
colors: {
  custom: {
    50: '#617295',
    500: '#173d6a',
    950: '#000000',
  },
}
SCSS
$custom: #173d6a;
$custom-light: #617295;
$custom-dark: #000000;
JSON
{
  "hex": "#173d6a",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 106
  },
  "hsl": {
    "h": 212.53,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35808,
    "c": 0.08925,
    "h": 254.6
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#173D6A
secondary
#A0733D
accent
#9B40E7
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #173D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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