#173B76#173B76

#173B76 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.109 H 259.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#173B76
RGBrgb(23, 59, 118)
HSLhsl(217, 67%, 28%)
HSVhsv(217, 81%, 46%)
CMYKcmyk(80.5%, 50%, 0%, 53.7%)
CIE-LABlab(25.62, 10.26, -37.51)
CIE-LCHlch(25.62, 38.89, 285.30°)
OKLaboklab(36.2% -0.0193 -0.1078)
OKLCHoklch(36.2% 0.109 259.9)
XYZxyz(5.1861, 4.6175, 17.7540)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B76 #765217
analogous
#176B76 #173B76 #221776
triadic
#173B76 #76173B #3B7617
tetradic
#173B76 #76176B #765217 #177622
square
#173B76 #76176B #765217 #177622
split-complementary
#173B76 #762217 #6B7617
monochromatic
#050D1A #0D2143 #173B76 #2155A9 #3170D7

Accessibility & contrast

On white

10.92
#173B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#173B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B76
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B76#FFFFFF#000000##FFFFFF
##173B761.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#003975
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173b76;
/* rgb */ color: rgb(23, 59, 118);
/* oklch */ color: oklch(36.2% 0.109 259.9);
Tailwind
colors: {
  custom: {
    50: '#64709e',
    500: '#173b76',
    950: '#000000',
  },
}
SCSS
$custom: #173b76;
$custom-light: #64709e;
$custom-dark: #000000;
JSON
{
  "hex": "#173b76",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 118
  },
  "hsl": {
    "h": 217.263,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36203,
    "c": 0.10947,
    "h": 259.9
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#173B76
secondary
#AB823E
accent
#A93EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173B76

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

Preview Lab → · Contrast checker → · Palette generator →

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