#173B78#173B78

#173B78 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.112 H 260.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#173B78
RGBrgb(23, 59, 120)
HSLhsl(218, 68%, 28%)
HSVhsv(218, 81%, 47%)
CMYKcmyk(80.8%, 50.8%, 0%, 52.9%)
CIE-LABlab(25.76, 11.10, -38.55)
CIE-LCHlch(25.76, 40.11, 286.06°)
OKLaboklab(36.36% -0.019 -0.1108)
OKLCHoklch(36.36% 0.112 260.3)
XYZxyz(5.3062, 4.6655, 18.3865)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B78 #785417
analogous
#176B78 #173B78 #231778
triadic
#173B78 #78173B #3B7817
tetradic
#173B78 #78176B #785417 #177823
square
#173B78 #78176B #785417 #177823
split-complementary
#173B78 #782317 #6B7817
monochromatic
#050D1A #0D2245 #173B78 #2154AB #326FD8

Accessibility & contrast

On white

10.86
#173B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B78
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B78#FFFFFF#000000##FFFFFF
##173B781.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173b78;
/* rgb */ color: rgb(23, 59, 120);
/* oklch */ color: oklch(36.4% 0.112 260.3);
Tailwind
colors: {
  custom: {
    50: '#64709f',
    500: '#173b78',
    950: '#000000',
  },
}
SCSS
$custom: #173b78;
$custom-light: #64709f;
$custom-dark: #000000;
JSON
{
  "hex": "#173b78",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 217.732,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36359,
    "c": 0.11241,
    "h": 260.3
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#173B78
secondary
#AD843E
accent
#AA3DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173B78

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

Preview Lab → · Contrast checker → · Palette generator →

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