#173F6B#173F6B

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

Color values

HEX#173F6B
RGBrgb(23, 63, 107)
HSLhsl(211, 65%, 25%)
HSVhsv(211, 79%, 42%)
CMYKcmyk(78.5%, 41.1%, 0%, 58%)
CIE-LABlab(26.15, 2.92, -29.65)
CIE-LCHlch(26.15, 29.79, 275.62°)
OKLaboklab(36.38% -0.0255 -0.0846)
OKLCHoklch(36.38% 0.088 253.2)
XYZxyz(4.7837, 4.7982, 14.5811)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F6B #6B4317
analogous
#17696B #173F6B #19176B
triadic
#173F6B #6B173F #3F6B17
tetradic
#173F6B #6B1769 #6B4317 #176B19
square
#173F6B #6B1769 #6B4317 #176B19
split-complementary
#173F6B #6B1917 #696B17
monochromatic
#050F19 #0C2139 #173F6B #225D9D #2D7AD0

Accessibility & contrast

On white

10.72
#173F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F6B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F6B#FFFFFF#000000##FFFFFF
##173F6B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426D
Deuteranopia (green-blind)
#1D3A6A
Tritanopia (blue-blind)
#00494F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173f6b;
/* rgb */ color: rgb(23, 63, 107);
/* oklch */ color: oklch(36.4% 0.088 253.2);
Tailwind
colors: {
  custom: {
    50: '#617395',
    500: '#173f6b',
    950: '#000000',
  },
}
SCSS
$custom: #173f6b;
$custom-light: #617395;
$custom-dark: #000000;
JSON
{
  "hex": "#173f6b",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 107
  },
  "hsl": {
    "h": 211.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36382,
    "c": 0.08832,
    "h": 253.2
  },
  "luminance": 0.04799
}

Semantic roles & 50–950 ramp

primary
#173F6B
secondary
#A1713D
accent
#9840E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #173F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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