#173A75#173A75

#173A75 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.109 H 260.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#173A75
RGBrgb(23, 58, 117)
HSLhsl(218, 67%, 27%)
HSVhsv(218, 80%, 46%)
CMYKcmyk(80.3%, 50.4%, 0%, 54.1%)
CIE-LABlab(25.24, 10.55, -37.49)
CIE-LCHlch(25.24, 38.95, 285.72°)
OKLaboklab(35.89% -0.0186 -0.1077)
OKLCHoklch(35.89% 0.109 260.2)
XYZxyz(5.0761, 4.4920, 17.4257)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A75 #755217
analogous
#176975 #173A75 #231775
triadic
#173A75 #75173A #3A7517
tetradic
#173A75 #751769 #755217 #177523
square
#173A75 #751769 #755217 #177523
split-complementary
#173A75 #752317 #697517
monochromatic
#050D1A #0D2142 #173A75 #2153A8 #306ED6

Accessibility & contrast

On white

11.06
#173A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A75
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A75#FFFFFF#000000##FFFFFF
##173A751.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173a75;
/* rgb */ color: rgb(23, 58, 117);
/* oklch */ color: oklch(35.9% 0.109 260.2);
Tailwind
colors: {
  custom: {
    50: '#646f9d',
    500: '#173a75',
    950: '#000000',
  },
}
SCSS
$custom: #173a75;
$custom-light: #646f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#173a75",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 117
  },
  "hsl": {
    "h": 217.66,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.10931,
    "h": 260.2
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#173A75
secondary
#AA823D
accent
#AA3EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A75

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

Preview Lab → · Contrast checker → · Palette generator →

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