#173B7B#173B7B

#173B7B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.117 H 260.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#173B7B
RGBrgb(23, 59, 123)
HSLhsl(218, 68%, 29%)
HSVhsv(218, 81%, 48%)
CMYKcmyk(81.3%, 52%, 0%, 51.8%)
CIE-LABlab(25.98, 12.35, -40.09)
CIE-LCHlch(25.98, 41.94, 287.12°)
OKLaboklab(36.6% -0.0185 -0.1153)
OKLCHoklch(36.6% 0.117 260.9)
XYZxyz(5.4912, 4.7395, 19.3605)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B7B #7B5717
analogous
#176D7B #173B7B #25177B
triadic
#173B7B #7B173B #3B7B17
tetradic
#173B7B #7B176D #7B5717 #177B25
square
#173B7B #7B176D #7B5717 #177B25
split-complementary
#173B7B #7B2517 #6D7B17
monochromatic
#050C1A #0D2247 #173B7B #2154AF #336FD9

Accessibility & contrast

On white

10.78
#173B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173B7B
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B7B#FFFFFF#000000##FFFFFF
##173B7B1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173b7b;
/* rgb */ color: rgb(23, 59, 123);
/* oklch */ color: oklch(36.6% 0.117 260.9);
Tailwind
colors: {
  custom: {
    50: '#6570a2',
    500: '#173b7b',
    950: '#000000',
  },
}
SCSS
$custom: #173b7b;
$custom-light: #6570a2;
$custom-dark: #000000;
JSON
{
  "hex": "#173b7b",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 123
  },
  "hsl": {
    "h": 218.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36598,
    "c": 0.11681,
    "h": 260.9
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#173B7B
secondary
#B0873E
accent
#AC3CEB
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #173B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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