#173B7A#173B7A

#173B7A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.115 H 260.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#173B7A
RGBrgb(23, 59, 122)
HSLhsl(218, 68%, 28%)
HSVhsv(218, 81%, 48%)
CMYKcmyk(81.1%, 51.6%, 0%, 52.2%)
CIE-LABlab(25.91, 11.93, -39.57)
CIE-LCHlch(25.91, 41.33, 286.78°)
OKLaboklab(36.52% -0.0186 -0.1138)
OKLCHoklch(36.52% 0.115 260.7)
XYZxyz(5.4289, 4.7146, 19.0325)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B7A #7A5617
analogous
#176C7A #173B7A #24177A
triadic
#173B7A #7A173B #3B7A17
tetradic
#173B7A #7A176C #7A5617 #177A24
square
#173B7A #7A176C #7A5617 #177A24
split-complementary
#173B7A #7A2417 #6C7A17
monochromatic
#050C1A #0D2247 #173B7A #2154AD #336FD9

Accessibility & contrast

On white

10.81
#173B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173B7A
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B7A#FFFFFF#000000##FFFFFF
##173B7A1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173b7a;
/* rgb */ color: rgb(23, 59, 122);
/* oklch */ color: oklch(36.5% 0.115 260.7);
Tailwind
colors: {
  custom: {
    50: '#6570a1',
    500: '#173b7a',
    950: '#000000',
  },
}
SCSS
$custom: #173b7a;
$custom-light: #6570a1;
$custom-dark: #000000;
JSON
{
  "hex": "#173b7a",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 218.182,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.11535,
    "h": 260.7
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#173B7A
secondary
#AF863E
accent
#AC3DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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