#173A77#173A77

#173A77 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.112 H 260.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#173A77
RGBrgb(23, 58, 119)
HSLhsl(218, 68%, 28%)
HSVhsv(218, 81%, 47%)
CMYKcmyk(80.7%, 51.3%, 0%, 53.3%)
CIE-LABlab(25.38, 11.39, -38.52)
CIE-LCHlch(25.38, 40.17, 286.47°)
OKLaboklab(36.05% -0.0182 -0.1108)
OKLCHoklch(36.05% 0.112 260.6)
XYZxyz(5.1950, 4.5396, 18.0516)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A77 #775417
analogous
#176A77 #173A77 #241777
triadic
#173A77 #77173A #3A7717
tetradic
#173A77 #77176A #775417 #177724
square
#173A77 #77176A #775417 #177724
split-complementary
#173A77 #772417 #6A7717
monochromatic
#050C1A #0D2144 #173A77 #2153AA #316ED7

Accessibility & contrast

On white

11.01
#173A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#173A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A77
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A77#FFFFFF#000000##FFFFFF
##173A771.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173a77;
/* rgb */ color: rgb(23, 58, 119);
/* oklch */ color: oklch(36.0% 0.112 260.6);
Tailwind
colors: {
  custom: {
    50: '#646f9f',
    500: '#173a77',
    950: '#000000',
  },
}
SCSS
$custom: #173a77;
$custom-light: #646f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#173a77",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 218.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36046,
    "c": 0.11225,
    "h": 260.6
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#173A77
secondary
#AC843E
accent
#AB3DEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A77

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

Preview Lab → · Contrast checker → · Palette generator →

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