#173D6D#173D6D

#173D6D is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 36.0% C 0.094 H 255.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#173D6D
RGBrgb(23, 61, 109)
HSLhsl(213, 65%, 26%)
HSVhsv(213, 79%, 43%)
CMYKcmyk(78.9%, 44%, 0%, 57.3%)
CIE-LABlab(25.63, 5.12, -31.75)
CIE-LCHlch(25.63, 32.16, 279.17°)
OKLaboklab(36.02% -0.023 -0.0908)
OKLCHoklch(36.02% 0.094 255.8)
XYZxyz(4.7814, 4.6232, 15.1054)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D6D #6D4717
analogous
#17686D #173D6D #1C176D
triadic
#173D6D #6D173D #3D6D17
tetradic
#173D6D #6D1768 #6D4717 #176D1C
square
#173D6D #6D1768 #6D4717 #176D1C
split-complementary
#173D6D #6D1C17 #686D17
monochromatic
#050E19 #0C213A #173D6D #2259A0 #2C76D2

Accessibility & contrast

On white

10.91
#173D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D6D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D6D#FFFFFF#000000##FFFFFF
##173D6D1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#17396C
Tritanopia (blue-blind)
#00484F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173d6d;
/* rgb */ color: rgb(23, 61, 109);
/* oklch */ color: oklch(36.0% 0.094 255.8);
Tailwind
colors: {
  custom: {
    50: '#627297',
    500: '#173d6d',
    950: '#000000',
  },
}
SCSS
$custom: #173d6d;
$custom-light: #627297;
$custom-dark: #000000;
JSON
{
  "hex": "#173d6d",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 109
  },
  "hsl": {
    "h": 213.488,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36019,
    "c": 0.09364,
    "h": 255.8
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#173D6D
secondary
#A3763D
accent
#9E40E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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