#173A72#173A72

#173A72 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.105 H 259.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#173A72
RGBrgb(23, 58, 114)
HSLhsl(217, 66%, 27%)
HSVhsv(217, 80%, 45%)
CMYKcmyk(79.8%, 49.1%, 0%, 55.3%)
CIE-LABlab(25.02, 9.30, -35.93)
CIE-LCHlch(25.02, 37.11, 284.52°)
OKLaboklab(35.66% -0.0191 -0.1031)
OKLCHoklch(35.66% 0.105 259.5)
XYZxyz(4.9026, 4.4226, 16.5116)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A72 #724F17
analogous
#176872 #173A72 #221772
triadic
#173A72 #72173A #3A7217
tetradic
#173A72 #721768 #724F17 #177222
square
#173A72 #721768 #724F17 #177222
split-complementary
#173A72 #722217 #687217
monochromatic
#050D19 #0D203F #173A72 #2154A5 #2E6ED5

Accessibility & contrast

On white

11.14
#173A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A72
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A72#FFFFFF#000000##FFFFFF
##173A721.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173a72;
/* rgb */ color: rgb(23, 58, 114);
/* oklch */ color: oklch(35.7% 0.105 259.5);
Tailwind
colors: {
  custom: {
    50: '#636f9b',
    500: '#173a72',
    950: '#000000',
  },
}
SCSS
$custom: #173a72;
$custom-light: #636f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#173a72",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 216.923,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35655,
    "c": 0.10486,
    "h": 259.5
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#173A72
secondary
#A87F3D
accent
#A83EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A72

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

Preview Lab → · Contrast checker → · Palette generator →

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