#173F6C#173F6C

#173F6C is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.4% C 0.090 H 253.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#173F6C
RGBrgb(23, 63, 108)
HSLhsl(212, 65%, 26%)
HSVhsv(212, 79%, 42%)
CMYKcmyk(78.7%, 41.7%, 0%, 57.6%)
CIE-LABlab(26.21, 3.33, -30.19)
CIE-LCHlch(26.21, 30.37, 276.29°)
OKLaboklab(36.45% -0.0252 -0.0861)
OKLCHoklch(36.45% 0.09 253.7)
XYZxyz(4.8366, 4.8193, 14.8598)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F6C #6C4417
analogous
#17696C #173F6C #1A176C
triadic
#173F6C #6C173F #3F6C17
tetradic
#173F6C #6C1769 #6C4417 #176C1A
square
#173F6C #6C1769 #6C4417 #176C1A
split-complementary
#173F6C #6C1A17 #696C17
monochromatic
#050F19 #0C223A #173F6C #225C9E #2C7AD1

Accessibility & contrast

On white

10.69
#173F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#173F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F6C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F6C#FFFFFF#000000##FFFFFF
##173F6C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426E
Deuteranopia (green-blind)
#1C3A6B
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173f6c;
/* rgb */ color: rgb(23, 63, 108);
/* oklch */ color: oklch(36.4% 0.090 253.7);
Tailwind
colors: {
  custom: {
    50: '#617396',
    500: '#173f6c',
    950: '#000000',
  },
}
SCSS
$custom: #173f6c;
$custom-light: #617396;
$custom-dark: #000000;
JSON
{
  "hex": "#173f6c",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 108
  },
  "hsl": {
    "h": 211.765,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.08976,
    "h": 253.7
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#173F6C
secondary
#A2723D
accent
#9940E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #173F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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