#173D6B#173D6B

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

Color values

HEX#173D6B
RGBrgb(23, 61, 107)
HSLhsl(213, 65%, 25%)
HSVhsv(213, 79%, 42%)
CMYKcmyk(78.5%, 43%, 0%, 58%)
CIE-LABlab(25.51, 4.30, -30.68)
CIE-LCHlch(25.51, 30.98, 277.97°)
OKLaboklab(35.88% -0.0235 -0.0876)
OKLCHoklch(35.88% 0.091 255)
XYZxyz(4.6750, 4.5807, 14.5448)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D6B #6B4517
analogous
#17676B #173D6B #1B176B
triadic
#173D6B #6B173D #3D6B17
tetradic
#173D6B #6B1767 #6B4517 #176B1B
square
#173D6B #6B1767 #6B4517 #176B1B
split-complementary
#173D6B #6B1B17 #676B17
monochromatic
#050E19 #0C2039 #173D6B #225A9D #2D76D0

Accessibility & contrast

On white

10.96
#173D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D6B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D6B#FFFFFF#000000##FFFFFF
##173D6B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#19396A
Tritanopia (blue-blind)
#00484E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173d6b;
/* rgb */ color: rgb(23, 61, 107);
/* oklch */ color: oklch(35.9% 0.091 255.0);
Tailwind
colors: {
  custom: {
    50: '#617296',
    500: '#173d6b',
    950: '#000000',
  },
}
SCSS
$custom: #173d6b;
$custom-light: #617296;
$custom-dark: #000000;
JSON
{
  "hex": "#173d6b",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 107
  },
  "hsl": {
    "h": 212.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.09072,
    "h": 255
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#173D6B
secondary
#A1743D
accent
#9C40E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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