#173A73#173A73

#173A73 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.106 H 259.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#173A73
RGBrgb(23, 58, 115)
HSLhsl(217, 67%, 27%)
HSVhsv(217, 80%, 45%)
CMYKcmyk(80%, 49.6%, 0%, 54.9%)
CIE-LABlab(25.09, 9.72, -36.45)
CIE-LCHlch(25.09, 37.72, 284.93°)
OKLaboklab(35.73% -0.0189 -0.1046)
OKLCHoklch(35.73% 0.106 259.8)
XYZxyz(4.9598, 4.4455, 16.8130)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A73 #735017
analogous
#176873 #173A73 #221773
triadic
#173A73 #73173A #3A7317
tetradic
#173A73 #731768 #735017 #177322
square
#173A73 #731768 #735017 #177322
split-complementary
#173A73 #732217 #687317
monochromatic
#050D1A #0D2040 #173A73 #2154A6 #2F6ED5

Accessibility & contrast

On white

11.12
#173A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#173A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A73
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A73#FFFFFF#000000##FFFFFF
##173A731.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4075
Deuteranopia (green-blind)
#023872
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173a73;
/* rgb */ color: rgb(23, 58, 115);
/* oklch */ color: oklch(35.7% 0.106 259.8);
Tailwind
colors: {
  custom: {
    50: '#636f9c',
    500: '#173a73',
    950: '#000000',
  },
}
SCSS
$custom: #173a73;
$custom-light: #636f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#173a73",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 115
  },
  "hsl": {
    "h": 217.174,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35732,
    "c": 0.10634,
    "h": 259.8
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#173A73
secondary
#A9803D
accent
#A83EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173A73

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

Preview Lab → · Contrast checker → · Palette generator →

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