#173671#173671

#173671 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.109 H 261.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#173671
RGBrgb(23, 54, 113)
HSLhsl(219, 66%, 27%)
HSVhsv(219, 80%, 44%)
CMYKcmyk(79.6%, 52.2%, 0%, 55.7%)
CIE-LABlab(23.71, 11.73, -37.40)
CIE-LCHlch(23.71, 39.19, 287.41°)
OKLaboklab(34.63% -0.0157 -0.1075)
OKLCHoklch(34.63% 0.109 261.7)
XYZxyz(4.6521, 4.0122, 16.1488)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173671 #715217
analogous
#176371 #173671 #251771
triadic
#173671 #711736 #367117
tetradic
#173671 #711763 #715217 #177125
square
#173671 #711763 #715217 #177125
split-complementary
#173671 #712517 #637117
monochromatic
#050C19 #0D1E3E #173671 #214EA4 #2E67D4

Accessibility & contrast

On white

11.65
#173671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#173671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173671
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173671#FFFFFF#000000##FFFFFF
##1736711.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173671;
/* rgb */ color: rgb(23, 54, 113);
/* oklch */ color: oklch(34.6% 0.109 261.7);
Tailwind
colors: {
  custom: {
    50: '#636c9a',
    500: '#173671',
    950: '#000000',
  },
}
SCSS
$custom: #173671;
$custom-light: #636c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#173671",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 219.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.10867,
    "h": 261.7
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#173671
secondary
#A7823D
accent
#AE3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173671

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

Preview Lab → · Contrast checker → · Palette generator →

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