#173D6F#173D6F

#173D6F is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.2% C 0.097 H 256.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#173D6F
RGBrgb(23, 61, 111)
HSLhsl(214, 66%, 26%)
HSVhsv(214, 79%, 44%)
CMYKcmyk(79.3%, 45%, 0%, 56.5%)
CIE-LABlab(25.76, 5.95, -32.82)
CIE-LCHlch(25.76, 33.36, 280.28°)
OKLaboklab(36.16% -0.0225 -0.0939)
OKLCHoklch(36.16% 0.097 256.5)
XYZxyz(4.8903, 4.6668, 15.6789)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D6F #6F4917
analogous
#17696F #173D6F #1D176F
triadic
#173D6F #6F173D #3D6F17
tetradic
#173D6F #6F1769 #6F4917 #176F1D
square
#173D6F #6F1769 #6F4917 #176F1D
split-complementary
#173D6F #6F1D17 #696F17
monochromatic
#050E19 #0C213C #173D6F #2259A2 #2D75D3

Accessibility & contrast

On white

10.86
#173D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D6F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D6F#FFFFFF#000000##FFFFFF
##173D6F1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#14396E
Tritanopia (blue-blind)
#004950
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173d6f;
/* rgb */ color: rgb(23, 61, 111);
/* oklch */ color: oklch(36.2% 0.097 256.5);
Tailwind
colors: {
  custom: {
    50: '#627299',
    500: '#173d6f',
    950: '#000000',
  },
}
SCSS
$custom: #173d6f;
$custom-light: #627299;
$custom-dark: #000000;
JSON
{
  "hex": "#173d6f",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 111
  },
  "hsl": {
    "h": 214.091,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36162,
    "c": 0.09659,
    "h": 256.5
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#173D6F
secondary
#A5783D
accent
#9F3FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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