#173D76#173D76

#173D76 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.107 H 258.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#173D76
RGBrgb(23, 61, 118)
HSLhsl(216, 67%, 28%)
HSVhsv(216, 81%, 46%)
CMYKcmyk(80.5%, 48.3%, 0%, 53.7%)
CIE-LABlab(26.24, 8.86, -36.51)
CIE-LCHlch(26.24, 37.57, 283.64°)
OKLaboklab(36.68% -0.0211 -0.1048)
OKLCHoklch(36.68% 0.107 258.6)
XYZxyz(5.2909, 4.8270, 17.7889)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D76 #765017
analogous
#176C76 #173D76 #201776
triadic
#173D76 #76173D #3D7617
tetradic
#173D76 #76176C #765017 #177620
square
#173D76 #76176C #765017 #177620
split-complementary
#173D76 #762017 #6C7617
monochromatic
#050D1A #0D2343 #173D76 #2157A9 #3173D7

Accessibility & contrast

On white

10.68
#173D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#173D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D76
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D76#FFFFFF#000000##FFFFFF
##173D761.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#073A75
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173d76;
/* rgb */ color: rgb(23, 61, 118);
/* oklch */ color: oklch(36.7% 0.107 258.6);
Tailwind
colors: {
  custom: {
    50: '#64729e',
    500: '#173d76',
    950: '#000000',
  },
}
SCSS
$custom: #173d76;
$custom-light: #64729e;
$custom-dark: #000000;
JSON
{
  "hex": "#173d76",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 216,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.10688,
    "h": 258.6
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#173D76
secondary
#AB7F3E
accent
#A53EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173D76

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

Preview Lab → · Contrast checker → · Palette generator →

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