#173C7E#173C7E

#173C7E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.120 H 260.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#173C7E
RGBrgb(23, 60, 126)
HSLhsl(218, 69%, 29%)
HSVhsv(218, 82%, 49%)
CMYKcmyk(81.7%, 52.4%, 0%, 50.6%)
CIE-LABlab(26.50, 12.89, -41.13)
CIE-LCHlch(26.50, 43.10, 287.40°)
OKLaboklab(37.07% -0.0189 -0.1184)
OKLCHoklch(37.07% 0.12 260.9)
XYZxyz(5.7337, 4.9196, 20.3820)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C7E #7E5917
analogous
#17707E #173C7E #26177E
triadic
#173C7E #7E173C #3C7E17
tetradic
#173C7E #7E1770 #7E5917 #177E26
square
#173C7E #7E1770 #7E5917 #177E26
split-complementary
#173C7E #7E2617 #707E17
monochromatic
#050C1A #0E234A #173C7E #2055B2 #3570DA

Accessibility & contrast

On white

10.58
#173C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C7E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C7E#FFFFFF#000000##FFFFFF
##173C7E1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124480
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173c7e;
/* rgb */ color: rgb(23, 60, 126);
/* oklch */ color: oklch(37.1% 0.120 260.9);
Tailwind
colors: {
  custom: {
    50: '#6671a4',
    500: '#173c7e',
    950: '#000000',
  },
}
SCSS
$custom: #173c7e;
$custom-light: #6671a4;
$custom-dark: #000000;
JSON
{
  "hex": "#173c7e",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 218.447,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3707,
    "c": 0.11987,
    "h": 260.9
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#173C7E
secondary
#B3893E
accent
#AD3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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