#173B72#173B72

#173B72 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.104 H 258.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#173B72
RGBrgb(23, 59, 114)
HSLhsl(216, 66%, 27%)
HSVhsv(216, 80%, 45%)
CMYKcmyk(79.8%, 48.2%, 0%, 55.3%)
CIE-LABlab(25.33, 8.60, -35.42)
CIE-LCHlch(25.33, 36.45, 283.64°)
OKLaboklab(35.9% -0.02 -0.1016)
OKLCHoklch(35.9% 0.104 258.9)
XYZxyz(4.9535, 4.5244, 16.5286)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B72 #724E17
analogous
#176972 #173B72 #211772
triadic
#173B72 #72173B #3B7217
tetradic
#173B72 #721769 #724E17 #177221
square
#173B72 #721769 #724E17 #177221
split-complementary
#173B72 #722117 #697217
monochromatic
#050D19 #0D213F #173B72 #2155A5 #2E70D5

Accessibility & contrast

On white

11.02
#173B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#173B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B72
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B72#FFFFFF#000000##FFFFFF
##173B721.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4174
Deuteranopia (green-blind)
#083871
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173b72;
/* rgb */ color: rgb(23, 59, 114);
/* oklch */ color: oklch(35.9% 0.104 258.9);
Tailwind
colors: {
  custom: {
    50: '#63709b',
    500: '#173b72',
    950: '#000000',
  },
}
SCSS
$custom: #173b72;
$custom-light: #63709b;
$custom-dark: #000000;
JSON
{
  "hex": "#173b72",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 114
  },
  "hsl": {
    "h": 216.264,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35896,
    "c": 0.10356,
    "h": 258.9
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#173B72
secondary
#A87E3D
accent
#A63EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173B72

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

Preview Lab → · Contrast checker → · Palette generator →

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