#173F77#173F77

#173F77 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.106 H 257.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#173F77
RGBrgb(23, 63, 119)
HSLhsl(215, 68%, 28%)
HSVhsv(215, 81%, 47%)
CMYKcmyk(80.7%, 47.1%, 0%, 53.3%)
CIE-LABlab(26.93, 7.88, -36.03)
CIE-LCHlch(26.93, 36.89, 282.34°)
OKLaboklab(37.24% -0.0227 -0.1033)
OKLCHoklch(37.24% 0.106 257.6)
XYZxyz(5.4594, 5.0684, 18.1398)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F77 #774F17
analogous
#176F77 #173F77 #1F1777
triadic
#173F77 #77173F #3F7717
tetradic
#173F77 #77176F #774F17 #17771F
square
#173F77 #77176F #774F17 #17771F
split-complementary
#173F77 #771F17 #6F7717
monochromatic
#050E1A #0D2444 #173F77 #215AAA #3176D7

Accessibility & contrast

On white

10.43
#173F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#173F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F77
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F77#FFFFFF#000000##FFFFFF
##173F771.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224479
Deuteranopia (green-blind)
#0D3C76
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173f77;
/* rgb */ color: rgb(23, 63, 119);
/* oklch */ color: oklch(37.2% 0.106 257.6);
Tailwind
colors: {
  custom: {
    50: '#64739f',
    500: '#173f77',
    950: '#000000',
  },
}
SCSS
$custom: #173f77;
$custom-light: #64739f;
$custom-dark: #000000;
JSON
{
  "hex": "#173f77",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 119
  },
  "hsl": {
    "h": 215,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37237,
    "c": 0.10579,
    "h": 257.6
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#173F77
secondary
#AC7E3E
accent
#A23DEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #173F77

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

Preview Lab → · Contrast checker → · Palette generator →

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