#173C7B#173C7B

#173C7B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.116 H 260.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#173C7B
RGBrgb(23, 60, 123)
HSLhsl(218, 68%, 29%)
HSVhsv(218, 81%, 48%)
CMYKcmyk(81.3%, 51.2%, 0%, 51.8%)
CIE-LABlab(26.28, 11.64, -39.60)
CIE-LCHlch(26.28, 41.27, 286.38°)
OKLaboklab(36.83% -0.0193 -0.1139)
OKLCHoklch(36.83% 0.116 260.4)
XYZxyz(5.5431, 4.8433, 19.3778)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C7B #7B5617
analogous
#176E7B #173C7B #24177B
triadic
#173C7B #7B173C #3C7B17
tetradic
#173C7B #7B176E #7B5617 #177B24
square
#173C7B #7B176E #7B5617 #177B24
split-complementary
#173C7B #7B2417 #6E7B17
monochromatic
#050D1A #0D2347 #173C7B #2155AF #3371D9

Accessibility & contrast

On white

10.67
#173C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#173C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C7B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C7B#FFFFFF#000000##FFFFFF
##173C7B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173c7b;
/* rgb */ color: rgb(23, 60, 123);
/* oklch */ color: oklch(36.8% 0.116 260.4);
Tailwind
colors: {
  custom: {
    50: '#6571a2',
    500: '#173c7b',
    950: '#000000',
  },
}
SCSS
$custom: #173c7b;
$custom-light: #6571a2;
$custom-dark: #000000;
JSON
{
  "hex": "#173c7b",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 217.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3683,
    "c": 0.1155,
    "h": 260.4
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#173C7B
secondary
#B0863E
accent
#AB3CEB
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #173C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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