#173D73#173D73

#173D73 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.5% C 0.102 H 257.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#173D73
RGBrgb(23, 61, 115)
HSLhsl(215, 67%, 27%)
HSVhsv(215, 80%, 45%)
CMYKcmyk(80%, 47%, 0%, 54.9%)
CIE-LABlab(26.03, 7.61, -34.94)
CIE-LCHlch(26.03, 35.76, 282.29°)
OKLaboklab(36.46% -0.0216 -0.1002)
OKLCHoklch(36.46% 0.102 257.8)
XYZxyz(5.1155, 4.7569, 16.8649)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D73 #734D17
analogous
#176B73 #173D73 #1F1773
triadic
#173D73 #73173D #3D7317
tetradic
#173D73 #73176B #734D17 #17731F
square
#173D73 #73176B #734D17 #17731F
split-complementary
#173D73 #731F17 #6B7317
monochromatic
#050E1A #0D2240 #173D73 #2158A6 #2F74D5

Accessibility & contrast

On white

10.76
#173D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#173D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D73
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D73#FFFFFF#000000##FFFFFF
##173D731.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#0E3A72
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173d73;
/* rgb */ color: rgb(23, 61, 115);
/* oklch */ color: oklch(36.5% 0.102 257.8);
Tailwind
colors: {
  custom: {
    50: '#63729c',
    500: '#173d73',
    950: '#000000',
  },
}
SCSS
$custom: #173d73;
$custom-light: #63729c;
$custom-dark: #000000;
JSON
{
  "hex": "#173d73",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 115
  },
  "hsl": {
    "h": 215.217,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36455,
    "c": 0.10247,
    "h": 257.8
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#173D73
secondary
#A97C3D
accent
#A33EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173D73

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

Preview Lab → · Contrast checker → · Palette generator →

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