#173A76#173A76

#173A76 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.111 H 260.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#173A76
RGBrgb(23, 58, 118)
HSLhsl(218, 67%, 28%)
HSVhsv(218, 81%, 46%)
CMYKcmyk(80.5%, 50.8%, 0%, 53.7%)
CIE-LABlab(25.31, 10.97, -38.01)
CIE-LCHlch(25.31, 39.56, 286.10°)
OKLaboklab(35.97% -0.0184 -0.1092)
OKLCHoklch(35.97% 0.111 260.4)
XYZxyz(5.1352, 4.5157, 17.7370)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A76 #765317
analogous
#176976 #173A76 #241776
triadic
#173A76 #76173A #3A7617
tetradic
#173A76 #761769 #765317 #177624
square
#173A76 #761769 #765317 #177624
split-complementary
#173A76 #762417 #697617
monochromatic
#050D1A #0D2143 #173A76 #2153A9 #316ED7

Accessibility & contrast

On white

11.03
#173A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#173A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A76
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A76#FFFFFF#000000##FFFFFF
##173A761.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174178
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173a76;
/* rgb */ color: rgb(23, 58, 118);
/* oklch */ color: oklch(36.0% 0.111 260.4);
Tailwind
colors: {
  custom: {
    50: '#646f9e',
    500: '#173a76',
    950: '#000000',
  },
}
SCSS
$custom: #173a76;
$custom-light: #646f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#173a76",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 217.895,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35967,
    "c": 0.11078,
    "h": 260.4
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#173A76
secondary
#AB833E
accent
#AB3EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A76

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

Preview Lab → · Contrast checker → · Palette generator →

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