#173C7C#173C7C

#173C7C is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.117 H 260.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#173C7C
RGBrgb(23, 60, 124)
HSLhsl(218, 69%, 29%)
HSVhsv(218, 81%, 49%)
CMYKcmyk(81.5%, 51.6%, 0%, 51.4%)
CIE-LABlab(26.36, 12.06, -40.11)
CIE-LCHlch(26.36, 41.88, 286.73°)
OKLaboklab(36.91% -0.0192 -0.1154)
OKLCHoklch(36.91% 0.117 260.6)
XYZxyz(5.6060, 4.8685, 19.7091)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C7C #7C5717
analogous
#176F7C #173C7C #25177C
triadic
#173C7C #7C173C #3C7C17
tetradic
#173C7C #7C176F #7C5717 #177C25
square
#173C7C #7C176F #7C5717 #177C25
split-complementary
#173C7C #7C2517 #6F7C17
monochromatic
#050C1A #0D2348 #173C7C #2155B0 #3471D9

Accessibility & contrast

On white

10.64
#173C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C7C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C7C#FFFFFF#000000##FFFFFF
##173C7C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173c7c;
/* rgb */ color: rgb(23, 60, 124);
/* oklch */ color: oklch(36.9% 0.117 260.6);
Tailwind
colors: {
  custom: {
    50: '#6571a2',
    500: '#173c7c',
    950: '#000000',
  },
}
SCSS
$custom: #173c7c;
$custom-light: #6571a2;
$custom-dark: #000000;
JSON
{
  "hex": "#173c7c",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 218.02,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3691,
    "c": 0.11696,
    "h": 260.6
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#173C7C
secondary
#B1873E
accent
#AB3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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