#173A6C#173A6C

#173A6C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.096 H 257.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#173A6C
RGBrgb(23, 58, 108)
HSLhsl(215, 65%, 26%)
HSVhsv(215, 79%, 42%)
CMYKcmyk(78.7%, 46.3%, 0%, 57.6%)
CIE-LABlab(24.61, 6.80, -32.75)
CIE-LCHlch(24.61, 33.45, 281.74°)
OKLaboklab(35.2% -0.0203 -0.0938)
OKLCHoklch(35.2% 0.096 257.8)
XYZxyz(4.5722, 4.2905, 14.7716)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A6C #6C4917
analogous
#17646C #173A6C #1E176C
triadic
#173A6C #6C173A #3A6C17
tetradic
#173A6C #6C1764 #6C4917 #176C1E
square
#173A6C #6C1764 #6C4917 #176C1E
split-complementary
#173A6C #6C1E17 #646C17
monochromatic
#050E19 #0C1F3A #173A6C #22559E #2C70D1

Accessibility & contrast

On white

11.30
#173A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A6C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A6C#FFFFFF#000000##FFFFFF
##173A6C1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6E
Deuteranopia (green-blind)
#10376B
Tritanopia (blue-blind)
#00464D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173a6c;
/* rgb */ color: rgb(23, 58, 108);
/* oklch */ color: oklch(35.2% 0.096 257.8);
Tailwind
colors: {
  custom: {
    50: '#616f96',
    500: '#173a6c',
    950: '#000000',
  },
}
SCSS
$custom: #173a6c;
$custom-light: #616f96;
$custom-dark: #000000;
JSON
{
  "hex": "#173a6c",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 108
  },
  "hsl": {
    "h": 215.294,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35204,
    "c": 0.09594,
    "h": 257.8
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#173A6C
secondary
#A2783D
accent
#A340E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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