#173A6B#173A6B

#173A6B is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.1% C 0.094 H 257.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#173A6B
RGBrgb(23, 58, 107)
HSLhsl(215, 65%, 25%)
HSVhsv(215, 79%, 42%)
CMYKcmyk(78.5%, 45.8%, 0%, 58%)
CIE-LABlab(24.54, 6.39, -32.22)
CIE-LCHlch(24.54, 32.84, 281.22°)
OKLaboklab(35.13% -0.0205 -0.0922)
OKLCHoklch(35.13% 0.094 257.5)
XYZxyz(4.5193, 4.2693, 14.4929)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A6B #6B4817
analogous
#17646B #173A6B #1E176B
triadic
#173A6B #6B173A #3A6B17
tetradic
#173A6B #6B1764 #6B4817 #176B1E
square
#173A6B #6B1764 #6B4817 #176B1E
split-complementary
#173A6B #6B1E17 #646B17
monochromatic
#050E19 #0C1F39 #173A6B #22559D #2D71D0

Accessibility & contrast

On white

11.33
#173A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A6B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A6B#FFFFFF#000000##FFFFFF
##173A6B1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6D
Deuteranopia (green-blind)
#12376A
Tritanopia (blue-blind)
#00464D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173a6b;
/* rgb */ color: rgb(23, 58, 107);
/* oklch */ color: oklch(35.1% 0.094 257.5);
Tailwind
colors: {
  custom: {
    50: '#616f96',
    500: '#173a6b',
    950: '#000000',
  },
}
SCSS
$custom: #173a6b;
$custom-light: #616f96;
$custom-dark: #000000;
JSON
{
  "hex": "#173a6b",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 107
  },
  "hsl": {
    "h": 215,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35131,
    "c": 0.09445,
    "h": 257.5
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#173A6B
secondary
#A1773D
accent
#A240E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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