#173F71#173F71

#173F71 is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.8% C 0.097 H 255.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#173F71
RGBrgb(23, 63, 113)
HSLhsl(213, 66%, 27%)
HSVhsv(213, 80%, 44%)
CMYKcmyk(79.6%, 44.2%, 0%, 55.7%)
CIE-LABlab(26.53, 5.39, -32.87)
CIE-LCHlch(26.53, 33.31, 279.32°)
OKLaboklab(36.8% -0.024 -0.094)
OKLCHoklch(36.8% 0.097 255.7)
XYZxyz(5.1104, 4.9288, 16.3016)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F71 #714917
analogous
#176C71 #173F71 #1C1771
triadic
#173F71 #71173F #3F7117
tetradic
#173F71 #71176C #714917 #17711C
square
#173F71 #71176C #714917 #17711C
split-complementary
#173F71 #711C17 #6C7117
monochromatic
#050E19 #0D233E #173F71 #215BA4 #2E78D4

Accessibility & contrast

On white

10.58
#173F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F71
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F71#FFFFFF#000000##FFFFFF
##173F711.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#163B70
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173f71;
/* rgb */ color: rgb(23, 63, 113);
/* oklch */ color: oklch(36.8% 0.097 255.7);
Tailwind
colors: {
  custom: {
    50: '#63739a',
    500: '#173f71',
    950: '#000000',
  },
}
SCSS
$custom: #173f71;
$custom-light: #63739a;
$custom-dark: #000000;
JSON
{
  "hex": "#173f71",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 213.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.368,
    "c": 0.09703,
    "h": 255.7
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#173F71
secondary
#A7783D
accent
#9D3FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #173F71

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

Preview Lab → · Contrast checker → · Palette generator →

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