#173B74#173B74

#173B74 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.0% C 0.107 H 259.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#173B74
RGBrgb(23, 59, 116)
HSLhsl(217, 67%, 27%)
HSVhsv(217, 80%, 45%)
CMYKcmyk(80.2%, 49.1%, 0%, 54.5%)
CIE-LABlab(25.47, 9.43, -36.47)
CIE-LCHlch(25.47, 37.67, 284.50°)
OKLaboklab(36.05% -0.0196 -0.1047)
OKLCHoklch(36.05% 0.107 259.4)
XYZxyz(5.0686, 4.5705, 17.1347)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B74 #745017
analogous
#176A74 #173B74 #221774
triadic
#173B74 #74173B #3B7417
tetradic
#173B74 #74176A #745017 #177422
square
#173B74 #74176A #745017 #177422
split-complementary
#173B74 #742217 #6A7417
monochromatic
#050D1A #0D2141 #173B74 #2155A7 #3070D6

Accessibility & contrast

On white

10.97
#173B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#173B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B74
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B74#FFFFFF#000000##FFFFFF
##173B741.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#033873
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173b74;
/* rgb */ color: rgb(23, 59, 116);
/* oklch */ color: oklch(36.0% 0.107 259.4);
Tailwind
colors: {
  custom: {
    50: '#63709c',
    500: '#173b74',
    950: '#000000',
  },
}
SCSS
$custom: #173b74;
$custom-light: #63709c;
$custom-dark: #000000;
JSON
{
  "hex": "#173b74",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 116
  },
  "hsl": {
    "h": 216.774,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36049,
    "c": 0.10652,
    "h": 259.4
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#173B74
secondary
#A9803D
accent
#A73EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173B74

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

Preview Lab → · Contrast checker → · Palette generator →

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