#173B71#173B71

#173B71 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.8% C 0.102 H 258.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#173B71
RGBrgb(23, 59, 113)
HSLhsl(216, 66%, 27%)
HSVhsv(216, 80%, 44%)
CMYKcmyk(79.6%, 47.8%, 0%, 55.7%)
CIE-LABlab(25.27, 8.18, -34.90)
CIE-LCHlch(25.27, 35.84, 283.20°)
OKLaboklab(35.82% -0.0202 -0.1001)
OKLCHoklch(35.82% 0.102 258.6)
XYZxyz(4.8969, 4.5018, 16.2304)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B71 #714D17
analogous
#176871 #173B71 #201771
triadic
#173B71 #71173B #3B7117
tetradic
#173B71 #711768 #714D17 #177120
square
#173B71 #711768 #714D17 #177120
split-complementary
#173B71 #712017 #687117
monochromatic
#050D19 #0D203E #173B71 #2156A4 #2E71D4

Accessibility & contrast

On white

11.05
#173B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#173B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B71
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B71#FFFFFF#000000##FFFFFF
##173B711.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#0A3870
Tritanopia (blue-blind)
#004850
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173b71;
/* rgb */ color: rgb(23, 59, 113);
/* oklch */ color: oklch(35.8% 0.102 258.6);
Tailwind
colors: {
  custom: {
    50: '#63709a',
    500: '#173b71',
    950: '#000000',
  },
}
SCSS
$custom: #173b71;
$custom-light: #63709a;
$custom-dark: #000000;
JSON
{
  "hex": "#173b71",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 216,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.10209,
    "h": 258.6
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#173B71
secondary
#A77C3D
accent
#A53FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173B71

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

Preview Lab → · Contrast checker → · Palette generator →

#173B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva