#173A71#173A71

#173A71 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.103 H 259.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#173A71
RGBrgb(23, 58, 113)
HSLhsl(217, 66%, 27%)
HSVhsv(217, 80%, 44%)
CMYKcmyk(79.6%, 48.7%, 0%, 55.7%)
CIE-LABlab(24.95, 8.89, -35.40)
CIE-LCHlch(24.95, 36.50, 284.09°)
OKLaboklab(35.58% -0.0193 -0.1016)
OKLCHoklch(35.58% 0.103 259.3)
XYZxyz(4.8460, 4.4000, 16.2135)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A71 #714E17
analogous
#176771 #173A71 #211771
triadic
#173A71 #71173A #3A7117
tetradic
#173A71 #711767 #714E17 #177121
square
#173A71 #711767 #714E17 #177121
split-complementary
#173A71 #712117 #677117
monochromatic
#050D19 #0D203E #173A71 #2154A4 #2E6FD4

Accessibility & contrast

On white

11.17
#173A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#173A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A71
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A71#FFFFFF#000000##FFFFFF
##173A711.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#063770
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173a71;
/* rgb */ color: rgb(23, 58, 113);
/* oklch */ color: oklch(35.6% 0.103 259.3);
Tailwind
colors: {
  custom: {
    50: '#636f9a',
    500: '#173a71',
    950: '#000000',
  },
}
SCSS
$custom: #173a71;
$custom-light: #636f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#173a71",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 216.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35579,
    "c": 0.10338,
    "h": 259.3
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#173A71
secondary
#A77E3D
accent
#A73FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A71

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

Preview Lab → · Contrast checker → · Palette generator →

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