#173B7C#173B7C

#173B7C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.118 H 261.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#173B7C
RGBrgb(23, 59, 124)
HSLhsl(219, 69%, 29%)
HSVhsv(219, 81%, 49%)
CMYKcmyk(81.5%, 52.4%, 0%, 51.4%)
CIE-LABlab(26.05, 12.76, -40.60)
CIE-LCHlch(26.05, 42.55, 287.45°)
OKLaboklab(36.68% -0.0184 -0.1168)
OKLCHoklch(36.68% 0.118 261.1)
XYZxyz(5.5541, 4.7647, 19.6918)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B7C #7C5817
analogous
#176E7C #173B7C #26177C
triadic
#173B7C #7C173B #3B7C17
tetradic
#173B7C #7C176E #7C5817 #177C26
square
#173B7C #7C176E #7C5817 #177C26
split-complementary
#173B7C #7C2617 #6E7C17
monochromatic
#050C1A #0D2248 #173B7C #2154B0 #346FD9

Accessibility & contrast

On white

10.75
#173B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#173B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B7C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B7C#FFFFFF#000000##FFFFFF
##173B7C1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12437E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173b7c;
/* rgb */ color: rgb(23, 59, 124);
/* oklch */ color: oklch(36.7% 0.118 261.1);
Tailwind
colors: {
  custom: {
    50: '#6570a2',
    500: '#173b7c',
    950: '#000000',
  },
}
SCSS
$custom: #173b7c;
$custom-light: #6570a2;
$custom-dark: #000000;
JSON
{
  "hex": "#173b7c",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 124
  },
  "hsl": {
    "h": 218.614,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36678,
    "c": 0.11827,
    "h": 261.1
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#173B7C
secondary
#B1883E
accent
#AD3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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