#173B79#173B79

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

Color values

HEX#173B79
RGBrgb(23, 59, 121)
HSLhsl(218, 68%, 28%)
HSVhsv(218, 81%, 47%)
CMYKcmyk(81%, 51.2%, 0%, 52.5%)
CIE-LABlab(25.83, 11.51, -39.06)
CIE-LCHlch(25.83, 40.72, 286.42°)
OKLaboklab(36.44% -0.0188 -0.1123)
OKLCHoklch(36.44% 0.114 260.5)
XYZxyz(5.3673, 4.6899, 18.7078)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B79 #795517
analogous
#176C79 #173B79 #241779
triadic
#173B79 #79173B #3B7917
tetradic
#173B79 #79176C #795517 #177924
square
#173B79 #79176C #795517 #177924
split-complementary
#173B79 #792417 #6C7917
monochromatic
#050D1A #0D2246 #173B79 #2154AC #326FD8

Accessibility & contrast

On white

10.83
#173B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#173B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B79
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B79#FFFFFF#000000##FFFFFF
##173B791.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173b79;
/* rgb */ color: rgb(23, 59, 121);
/* oklch */ color: oklch(36.4% 0.114 260.5);
Tailwind
colors: {
  custom: {
    50: '#6570a0',
    500: '#173b79',
    950: '#000000',
  },
}
SCSS
$custom: #173b79;
$custom-light: #6570a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173b79",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 217.959,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36438,
    "c": 0.11388,
    "h": 260.5
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#173B79
secondary
#AE853E
accent
#AB3DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173B79

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

Preview Lab → · Contrast checker → · Palette generator →

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