#173A79#173A79

#173A79 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.115 H 261.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#173A79
RGBrgb(23, 58, 121)
HSLhsl(219, 68%, 28%)
HSVhsv(219, 81%, 47%)
CMYKcmyk(81%, 52.1%, 0%, 52.5%)
CIE-LABlab(25.53, 12.22, -39.55)
CIE-LCHlch(25.53, 41.40, 287.17°)
OKLaboklab(36.21% -0.0179 -0.1138)
OKLCHoklch(36.21% 0.115 261)
XYZxyz(5.3163, 4.5881, 18.6909)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A79 #795617
analogous
#176B79 #173A79 #251779
triadic
#173A79 #79173A #3A7917
tetradic
#173A79 #79176B #795617 #177925
square
#173A79 #79176B #795617 #177925
split-complementary
#173A79 #792517 #6B7917
monochromatic
#050C1A #0D2146 #173A79 #2153AC #326ED8

Accessibility & contrast

On white

10.95
#173A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A79
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A79#FFFFFF#000000##FFFFFF
##173A791.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173a79;
/* rgb */ color: rgb(23, 58, 121);
/* oklch */ color: oklch(36.2% 0.115 261.0);
Tailwind
colors: {
  custom: {
    50: '#656fa0',
    500: '#173a79',
    950: '#000000',
  },
}
SCSS
$custom: #173a79;
$custom-light: #656fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#173a79",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 218.571,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36205,
    "c": 0.1152,
    "h": 261
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#173A79
secondary
#AE863E
accent
#AD3DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173A79

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

Preview Lab → · Contrast checker → · Palette generator →

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