#173672#173672

#173672 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.110 H 261.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#173672
RGBrgb(23, 54, 114)
HSLhsl(220, 66%, 27%)
HSVhsv(220, 80%, 45%)
CMYKcmyk(79.8%, 52.6%, 0%, 55.3%)
CIE-LABlab(23.79, 12.14, -37.92)
CIE-LCHlch(23.79, 39.81, 287.76°)
OKLaboklab(34.71% -0.0155 -0.109)
OKLCHoklch(34.71% 0.11 261.9)
XYZxyz(4.7087, 4.0349, 16.4470)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173672 #725317
analogous
#176472 #173672 #251772
triadic
#173672 #721736 #367217
tetradic
#173672 #721764 #725317 #177225
square
#173672 #721764 #725317 #177225
split-complementary
#173672 #722517 #647217
monochromatic
#050C19 #0D1E3F #173672 #214EA5 #2E67D5

Accessibility & contrast

On white

11.62
#173672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#173672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173672
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173672#FFFFFF#000000##FFFFFF
##1736721.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173672;
/* rgb */ color: rgb(23, 54, 114);
/* oklch */ color: oklch(34.7% 0.110 261.9);
Tailwind
colors: {
  custom: {
    50: '#636c9b',
    500: '#173672',
    950: '#000000',
  },
}
SCSS
$custom: #173672;
$custom-light: #636c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#173672",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 114
  },
  "hsl": {
    "h": 219.56,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34708,
    "c": 0.11015,
    "h": 261.9
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#173672
secondary
#A8833D
accent
#AF3EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173672

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

Preview Lab → · Contrast checker → · Palette generator →

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