#173F72#173F72

#173F72 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.098 H 256.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#173F72
RGBrgb(23, 63, 114)
HSLhsl(214, 66%, 27%)
HSVhsv(214, 80%, 45%)
CMYKcmyk(79.8%, 44.7%, 0%, 55.3%)
CIE-LABlab(26.60, 5.81, -33.40)
CIE-LCHlch(26.60, 33.90, 279.86°)
OKLaboklab(36.87% -0.0237 -0.0956)
OKLCHoklch(36.87% 0.098 256.1)
XYZxyz(5.1670, 4.9515, 16.5997)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F72 #724A17
analogous
#176D72 #173F72 #1C1772
triadic
#173F72 #72173F #3F7217
tetradic
#173F72 #72176D #724A17 #17721C
square
#173F72 #72176D #724A17 #17721C
split-complementary
#173F72 #721C17 #6D7217
monochromatic
#050E19 #0D233F #173F72 #215BA5 #2E78D5

Accessibility & contrast

On white

10.55
#173F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#173F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F72
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F72#FFFFFF#000000##FFFFFF
##173F721.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264374
Deuteranopia (green-blind)
#153B71
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173f72;
/* rgb */ color: rgb(23, 63, 114);
/* oklch */ color: oklch(36.9% 0.098 256.1);
Tailwind
colors: {
  custom: {
    50: '#63739b',
    500: '#173f72',
    950: '#000000',
  },
}
SCSS
$custom: #173f72;
$custom-light: #63739b;
$custom-dark: #000000;
JSON
{
  "hex": "#173f72",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 114
  },
  "hsl": {
    "h": 213.626,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.09849,
    "h": 256.1
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#173F72
secondary
#A8793D
accent
#9E3EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #173F72

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

Preview Lab → · Contrast checker → · Palette generator →

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