#173D78#173D78

#173D78 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.110 H 259.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#173D78
RGBrgb(23, 61, 120)
HSLhsl(216, 68%, 28%)
HSVhsv(216, 81%, 47%)
CMYKcmyk(80.8%, 49.2%, 0%, 52.9%)
CIE-LABlab(26.38, 9.69, -37.55)
CIE-LCHlch(26.38, 38.78, 284.47°)
OKLaboklab(36.83% -0.0207 -0.1078)
OKLCHoklch(36.83% 0.11 259.1)
XYZxyz(5.4110, 4.8751, 18.4215)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D78 #785217
analogous
#176D78 #173D78 #221778
triadic
#173D78 #78173D #3D7817
tetradic
#173D78 #78176D #785217 #177822
square
#173D78 #78176D #785217 #177822
split-complementary
#173D78 #782217 #6D7817
monochromatic
#050D1A #0D2345 #173D78 #2157AB #3273D8

Accessibility & contrast

On white

10.63
#173D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#173D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D78
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D78#FFFFFF#000000##FFFFFF
##173D781.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437A
Deuteranopia (green-blind)
#023A77
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173d78;
/* rgb */ color: rgb(23, 61, 120);
/* oklch */ color: oklch(36.8% 0.110 259.1);
Tailwind
colors: {
  custom: {
    50: '#64719f',
    500: '#173d78',
    950: '#000000',
  },
}
SCSS
$custom: #173d78;
$custom-light: #64719f;
$custom-dark: #000000;
JSON
{
  "hex": "#173d78",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 216.495,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36833,
    "c": 0.10981,
    "h": 259.1
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#173D78
secondary
#AD813E
accent
#A73DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173D78

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

Preview Lab → · Contrast checker → · Palette generator →

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