#173A78#173A78

#173A78 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.114 H 260.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#173A78
RGBrgb(23, 58, 120)
HSLhsl(218, 68%, 28%)
HSVhsv(218, 81%, 47%)
CMYKcmyk(80.8%, 51.7%, 0%, 52.9%)
CIE-LABlab(25.45, 11.80, -39.04)
CIE-LCHlch(25.45, 40.79, 286.82°)
OKLaboklab(36.13% -0.0181 -0.1123)
OKLCHoklch(36.13% 0.114 260.8)
XYZxyz(5.2553, 4.5637, 18.3696)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A78 #785517
analogous
#176A78 #173A78 #251778
triadic
#173A78 #78173A #3A7817
tetradic
#173A78 #78176A #785517 #177825
square
#173A78 #78176A #785517 #177825
split-complementary
#173A78 #782517 #6A7817
monochromatic
#050C1A #0D2145 #173A78 #2153AB #326ED8

Accessibility & contrast

On white

10.98
#173A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A78
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A78#FFFFFF#000000##FFFFFF
##173A781.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15417A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173a78;
/* rgb */ color: rgb(23, 58, 120);
/* oklch */ color: oklch(36.1% 0.114 260.8);
Tailwind
colors: {
  custom: {
    50: '#646f9f',
    500: '#173a78',
    950: '#000000',
  },
}
SCSS
$custom: #173a78;
$custom-light: #646f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#173a78",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 218.351,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36125,
    "c": 0.11373,
    "h": 260.8
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#173A78
secondary
#AD853E
accent
#AC3DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A78

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

Preview Lab → · Contrast checker → · Palette generator →

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