#173471#173471

#173471 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.111 H 262.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#173471
RGBrgb(23, 52, 113)
HSLhsl(221, 66%, 27%)
HSVhsv(221, 80%, 44%)
CMYKcmyk(79.6%, 54%, 0%, 55.7%)
CIE-LABlab(23.10, 13.16, -38.38)
CIE-LCHlch(23.10, 40.58, 288.92°)
OKLaboklab(34.16% -0.0139 -0.1105)
OKLCHoklch(34.16% 0.111 262.8)
XYZxyz(4.5609, 3.8299, 16.1184)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173471 #715417
analogous
#176171 #173471 #271771
triadic
#173471 #711734 #347117
tetradic
#173471 #711761 #715417 #177127
square
#173471 #711761 #715417 #177127
split-complementary
#173471 #712717 #617117
monochromatic
#050C19 #0D1D3E #173471 #214BA4 #2E64D4

Accessibility & contrast

On white

11.89
#173471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173471
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173471#FFFFFF#000000##FFFFFF
##1734711.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173471;
/* rgb */ color: rgb(23, 52, 113);
/* oklch */ color: oklch(34.2% 0.111 262.8);
Tailwind
colors: {
  custom: {
    50: '#636a9a',
    500: '#173471',
    950: '#000000',
  },
}
SCSS
$custom: #173471;
$custom-light: #636a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#173471",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 220.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34161,
    "c": 0.11134,
    "h": 262.8
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#173471
secondary
#A7853D
accent
#B23FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173471

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

Preview Lab → · Contrast checker → · Palette generator →

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