#173A6D#173A6D

#173A6D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.097 H 258.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#173A6D
RGBrgb(23, 58, 109)
HSLhsl(216, 65%, 26%)
HSVhsv(216, 79%, 43%)
CMYKcmyk(78.9%, 46.8%, 0%, 57.3%)
CIE-LABlab(24.68, 7.22, -33.28)
CIE-LCHlch(24.68, 34.06, 282.24°)
OKLaboklab(35.28% -0.0201 -0.0953)
OKLCHoklch(35.28% 0.097 258.1)
XYZxyz(4.6257, 4.3119, 15.0535)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A6D #6D4A17
analogous
#17656D #173A6D #1F176D
triadic
#173A6D #6D173A #3A6D17
tetradic
#173A6D #6D1765 #6D4A17 #176D1F
square
#173A6D #6D1765 #6D4A17 #176D1F
split-complementary
#173A6D #6D1F17 #656D17
monochromatic
#050D19 #0C1F3A #173A6D #2255A0 #2C70D2

Accessibility & contrast

On white

11.28
#173A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A6D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A6D#FFFFFF#000000##FFFFFF
##173A6D1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173a6d;
/* rgb */ color: rgb(23, 58, 109);
/* oklch */ color: oklch(35.3% 0.097 258.1);
Tailwind
colors: {
  custom: {
    50: '#626f97',
    500: '#173a6d',
    950: '#000000',
  },
}
SCSS
$custom: #173a6d;
$custom-light: #626f97;
$custom-dark: #000000;
JSON
{
  "hex": "#173a6d",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 109
  },
  "hsl": {
    "h": 215.581,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35278,
    "c": 0.09743,
    "h": 258.1
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#173A6D
secondary
#A3793D
accent
#A440E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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