#173571#173571

#173571 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.110 H 262.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#173571
RGBrgb(23, 53, 113)
HSLhsl(220, 66%, 27%)
HSVhsv(220, 80%, 44%)
CMYKcmyk(79.6%, 53.1%, 0%, 55.7%)
CIE-LABlab(23.41, 12.44, -37.89)
CIE-LCHlch(23.41, 39.88, 288.17°)
OKLaboklab(34.39% -0.0148 -0.109)
OKLCHoklch(34.39% 0.11 262.3)
XYZxyz(4.6060, 3.9201, 16.1335)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173571 #715317
analogous
#176271 #173571 #261771
triadic
#173571 #711735 #357117
tetradic
#173571 #711762 #715317 #177126
square
#173571 #711762 #715317 #177126
split-complementary
#173571 #712617 #627117
monochromatic
#050C19 #0D1D3E #173571 #214DA4 #2E65D4

Accessibility & contrast

On white

11.77
#173571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173571
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173571#FFFFFF#000000##FFFFFF
##1735711.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173571;
/* rgb */ color: rgb(23, 53, 113);
/* oklch */ color: oklch(34.4% 0.110 262.3);
Tailwind
colors: {
  custom: {
    50: '#636b9a',
    500: '#173571',
    950: '#000000',
  },
}
SCSS
$custom: #173571;
$custom-light: #636b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#173571",
  "rgb": {
    "r": 23,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 220,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34393,
    "c": 0.11,
    "h": 262.3
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#173571
secondary
#A7833D
accent
#B03FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173571

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

Preview Lab → · Contrast checker → · Palette generator →

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