#173A6F#173A6F

#173A6F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.4% C 0.100 H 258.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#173A6F
RGBrgb(23, 58, 111)
HSLhsl(216, 66%, 26%)
HSVhsv(216, 79%, 44%)
CMYKcmyk(79.3%, 47.7%, 0%, 56.5%)
CIE-LABlab(24.81, 8.05, -34.35)
CIE-LCHlch(24.81, 35.28, 283.20°)
OKLaboklab(35.43% -0.0197 -0.0985)
OKLCHoklch(35.43% 0.1 258.7)
XYZxyz(4.7346, 4.3554, 15.6270)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A6F #6F4C17
analogous
#17666F #173A6F #20176F
triadic
#173A6F #6F173A #3A6F17
tetradic
#173A6F #6F1766 #6F4C17 #176F20
square
#173A6F #6F1766 #6F4C17 #176F20
split-complementary
#173A6F #6F2017 #666F17
monochromatic
#050D19 #0C203C #173A6F #2254A2 #2D6FD3

Accessibility & contrast

On white

11.22
#173A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#173A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A6F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A6F#FFFFFF#000000##FFFFFF
##173A6F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#0B376E
Tritanopia (blue-blind)
#00474F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173a6f;
/* rgb */ color: rgb(23, 58, 111);
/* oklch */ color: oklch(35.4% 0.100 258.7);
Tailwind
colors: {
  custom: {
    50: '#626f99',
    500: '#173a6f',
    950: '#000000',
  },
}
SCSS
$custom: #173a6f;
$custom-light: #626f99;
$custom-dark: #000000;
JSON
{
  "hex": "#173a6f",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 111
  },
  "hsl": {
    "h": 216.136,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35427,
    "c": 0.1004,
    "h": 258.7
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#173A6F
secondary
#A57C3D
accent
#A53FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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