#173472#173472

#173472 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.113 H 263.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#173472
RGBrgb(23, 52, 114)
HSLhsl(221, 66%, 27%)
HSVhsv(221, 80%, 45%)
CMYKcmyk(79.8%, 54.4%, 0%, 55.3%)
CIE-LABlab(23.18, 13.57, -38.90)
CIE-LCHlch(23.18, 41.20, 289.24°)
OKLaboklab(34.24% -0.0138 -0.112)
OKLCHoklch(34.24% 0.113 263)
XYZxyz(4.6175, 3.8525, 16.4166)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173472 #725517
analogous
#176272 #173472 #281772
triadic
#173472 #721734 #347217
tetradic
#173472 #721762 #725517 #177228
square
#173472 #721762 #725517 #177228
split-complementary
#173472 #722817 #627217
monochromatic
#050C19 #0D1D3F #173472 #214BA5 #2E64D5

Accessibility & contrast

On white

11.86
#173472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#173472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173472
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173472#FFFFFF#000000##FFFFFF
##1734721.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173472;
/* rgb */ color: rgb(23, 52, 114);
/* oklch */ color: oklch(34.2% 0.113 263.0);
Tailwind
colors: {
  custom: {
    50: '#636a9b',
    500: '#173472',
    950: '#000000',
  },
}
SCSS
$custom: #173472;
$custom-light: #636a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#173472",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 114
  },
  "hsl": {
    "h": 220.879,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.11284,
    "h": 263
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#173472
secondary
#A8863D
accent
#B33EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173472

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

Preview Lab → · Contrast checker → · Palette generator →

#173472 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva