#173C81#173C81

#173C81 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.3% C 0.124 H 261.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#173C81
RGBrgb(23, 60, 129)
HSLhsl(219, 70%, 30%)
HSVhsv(219, 82%, 51%)
CMYKcmyk(82.2%, 53.5%, 0%, 49.4%)
CIE-LABlab(26.73, 14.13, -42.64)
CIE-LCHlch(26.73, 44.92, 288.34°)
OKLaboklab(37.31% -0.0185 -0.1228)
OKLCHoklch(37.31% 0.124 261.4)
XYZxyz(5.9302, 4.9982, 21.4168)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C81 #815C17
analogous
#177181 #173C81 #271781
triadic
#173C81 #81173C #3C8117
tetradic
#173C81 #811771 #815C17 #178127
square
#173C81 #811771 #815C17 #178127
split-complementary
#173C81 #812717 #718117
monochromatic
#050C1A #0E244D #173C81 #2054B5 #3770DB

Accessibility & contrast

On white

10.50
#173C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#173C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C81
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C81#FFFFFF#000000##FFFFFF
##173C811.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4483
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173c81;
/* rgb */ color: rgb(23, 60, 129);
/* oklch */ color: oklch(37.3% 0.124 261.4);
Tailwind
colors: {
  custom: {
    50: '#6771a6',
    500: '#173c81',
    950: '#000000',
  },
}
SCSS
$custom: #173c81;
$custom-light: #6771a6;
$custom-dark: #000000;
JSON
{
  "hex": "#173c81",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 219.057,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37313,
    "c": 0.12421,
    "h": 261.4
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#173C81
secondary
#B58C3E
accent
#AF3BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173C81

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

Preview Lab → · Contrast checker → · Palette generator →

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