#173D6C#173D6C

#173D6C is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.9% C 0.092 H 255.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#173D6C
RGBrgb(23, 61, 108)
HSLhsl(213, 65%, 26%)
HSVhsv(213, 79%, 42%)
CMYKcmyk(78.7%, 43.5%, 0%, 57.6%)
CIE-LABlab(25.57, 4.71, -31.22)
CIE-LCHlch(25.57, 31.57, 278.58°)
OKLaboklab(35.95% -0.0232 -0.0892)
OKLCHoklch(35.95% 0.092 255.4)
XYZxyz(4.7279, 4.6018, 14.8235)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D6C #6C4617
analogous
#17676C #173D6C #1B176C
triadic
#173D6C #6C173D #3D6C17
tetradic
#173D6C #6C1767 #6C4617 #176C1B
square
#173D6C #6C1767 #6C4617 #176C1B
split-complementary
#173D6C #6C1B17 #676C17
monochromatic
#050E19 #0C213A #173D6C #22599E #2C76D1

Accessibility & contrast

On white

10.94
#173D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#173D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D6C
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D6C#FFFFFF#000000##FFFFFF
##173D6C1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#18396B
Tritanopia (blue-blind)
#00484F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173d6c;
/* rgb */ color: rgb(23, 61, 108);
/* oklch */ color: oklch(35.9% 0.092 255.4);
Tailwind
colors: {
  custom: {
    50: '#617296',
    500: '#173d6c',
    950: '#000000',
  },
}
SCSS
$custom: #173d6c;
$custom-light: #617296;
$custom-dark: #000000;
JSON
{
  "hex": "#173d6c",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 108
  },
  "hsl": {
    "h": 213.176,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35948,
    "c": 0.09218,
    "h": 255.4
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#173D6C
secondary
#A2753D
accent
#9D40E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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