#173C70#173C70

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

Color values

HEX#173C70
RGBrgb(23, 60, 112)
HSLhsl(215, 66%, 26%)
HSVhsv(215, 79%, 44%)
CMYKcmyk(79.5%, 46.4%, 0%, 56.1%)
CIE-LABlab(25.51, 7.06, -33.86)
CIE-LCHlch(25.51, 34.59, 281.78°)
OKLaboklab(35.99% -0.0213 -0.097)
OKLCHoklch(35.99% 0.099 257.6)
XYZxyz(4.8928, 4.5832, 15.9529)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C70 #704B17
analogous
#176970 #173C70 #1F1770
triadic
#173C70 #70173C #3C7017
tetradic
#173C70 #701769 #704B17 #17701F
square
#173C70 #701769 #704B17 #17701F
split-complementary
#173C70 #701F17 #697017
monochromatic
#050E19 #0D213D #173C70 #2157A3 #2D73D4

Accessibility & contrast

On white

10.96
#173C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C70
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C70#FFFFFF#000000##FFFFFF
##173C701.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224172
Deuteranopia (green-blind)
#10396F
Tritanopia (blue-blind)
#004850
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173c70;
/* rgb */ color: rgb(23, 60, 112);
/* oklch */ color: oklch(36.0% 0.099 257.6);
Tailwind
colors: {
  custom: {
    50: '#627199',
    500: '#173c70',
    950: '#000000',
  },
}
SCSS
$custom: #173c70;
$custom-light: #627199;
$custom-dark: #000000;
JSON
{
  "hex": "#173c70",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 112
  },
  "hsl": {
    "h": 215.056,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.09932,
    "h": 257.6
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#173C70
secondary
#A67A3D
accent
#A23FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173C70

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

Preview Lab → · Contrast checker → · Palette generator →

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