#173C74#173C74

#173C74 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.3% C 0.105 H 258.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#173C74
RGBrgb(23, 60, 116)
HSLhsl(216, 67%, 27%)
HSVhsv(216, 80%, 45%)
CMYKcmyk(80.2%, 48.3%, 0%, 54.5%)
CIE-LABlab(25.79, 8.73, -35.97)
CIE-LCHlch(25.79, 37.01, 283.64°)
OKLaboklab(36.29% -0.0205 -0.1032)
OKLCHoklch(36.29% 0.105 258.7)
XYZxyz(5.1204, 4.6742, 17.1520)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C74 #744F17
analogous
#176B74 #173C74 #211774
triadic
#173C74 #74173C #3C7417
tetradic
#173C74 #74176B #744F17 #177421
square
#173C74 #74176B #744F17 #177421
split-complementary
#173C74 #742117 #6B7417
monochromatic
#050D1A #0D2241 #173C74 #2156A7 #3072D6

Accessibility & contrast

On white

10.85
#173C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#173C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C74
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C74#FFFFFF#000000##FFFFFF
##173C741.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173c74;
/* rgb */ color: rgb(23, 60, 116);
/* oklch */ color: oklch(36.3% 0.105 258.7);
Tailwind
colors: {
  custom: {
    50: '#63719c',
    500: '#173c74',
    950: '#000000',
  },
}
SCSS
$custom: #173c74;
$custom-light: #63719c;
$custom-dark: #000000;
JSON
{
  "hex": "#173c74",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 116
  },
  "hsl": {
    "h": 216.129,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36288,
    "c": 0.10522,
    "h": 258.7
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173C74

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

Preview Lab → · Contrast checker → · Palette generator →

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