#173B7F#173B7F

#173B7F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.123 H 261.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#173B7F
RGBrgb(23, 59, 127)
HSLhsl(219, 69%, 29%)
HSVhsv(219, 82%, 50%)
CMYKcmyk(81.9%, 53.5%, 0%, 50.2%)
CIE-LABlab(26.28, 14.01, -42.12)
CIE-LCHlch(26.28, 44.39, 288.40°)
OKLaboklab(36.92% -0.0179 -0.1213)
OKLCHoklch(36.92% 0.123 261.6)
XYZxyz(5.7467, 4.8417, 20.7062)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B7F #7F5B17
analogous
#176F7F #173B7F #27177F
triadic
#173B7F #7F173B #3B7F17
tetradic
#173B7F #7F176F #7F5B17 #177F27
square
#173B7F #7F176F #7F5B17 #177F27
split-complementary
#173B7F #7F2717 #6F7F17
monochromatic
#050C1A #0E234B #173B7F #2053B3 #366FDB

Accessibility & contrast

On white

10.67
#173B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#173B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B7F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B7F#FFFFFF#000000##FFFFFF
##173B7F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4381
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173b7f;
/* rgb */ color: rgb(23, 59, 127);
/* oklch */ color: oklch(36.9% 0.123 261.6);
Tailwind
colors: {
  custom: {
    50: '#6670a5',
    500: '#173b7f',
    950: '#000000',
  },
}
SCSS
$custom: #173b7f;
$custom-light: #6670a5;
$custom-dark: #000000;
JSON
{
  "hex": "#173b7f",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 127
  },
  "hsl": {
    "h": 219.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36922,
    "c": 0.12263,
    "h": 261.6
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#173B7F
secondary
#B48B3E
accent
#AF3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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