#173C94#173C94

#173C94 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.151 H 263.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#173C94
RGBrgb(23, 60, 148)
HSLhsl(222, 73%, 34%)
HSVhsv(222, 84%, 58%)
CMYKcmyk(84.5%, 59.5%, 0%, 42%)
CIE-LABlab(28.25, 21.92, -51.94)
CIE-LCHlch(28.25, 56.37, 292.89°)
OKLaboklab(38.94% -0.0168 -0.1501)
OKLCHoklch(38.94% 0.151 263.6)
XYZxyz(7.3126, 5.5511, 28.6973)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C94 #946F17
analogous
#177A94 #173C94 #301794
triadic
#173C94 #94173C #3C9417
tetradic
#173C94 #94177A #946F17 #179430
square
#173C94 #94177A #946F17 #179430
split-complementary
#173C94 #943017 #7A9417
monochromatic
#07112A #0F275F #173C94 #1F51C9 #4472E2

Accessibility & contrast

On white

9.95
#173C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#173C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C94
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C94#FFFFFF#000000##FFFFFF
##173C941.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #173c94;
/* rgb */ color: rgb(23, 60, 148);
/* oklch */ color: oklch(38.9% 0.151 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c71b4',
    500: '#173c94',
    950: '#000000',
  },
}
SCSS
$custom: #173c94;
$custom-light: #6c71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#173c94",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 222.24,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38942,
    "c": 0.15109,
    "h": 263.6
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#173C94
secondary
#C39D44
accent
#B938F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173C94

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

Preview Lab → · Contrast checker → · Palette generator →

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