#173C77#173C77

#173C77 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.110 H 259.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#173C77
RGBrgb(23, 60, 119)
HSLhsl(217, 68%, 28%)
HSVhsv(217, 81%, 47%)
CMYKcmyk(80.7%, 49.6%, 0%, 53.3%)
CIE-LABlab(26.00, 9.98, -37.53)
CIE-LCHlch(26.00, 38.84, 284.89°)
OKLaboklab(36.52% -0.02 -0.1078)
OKLCHoklch(36.52% 0.11 259.5)
XYZxyz(5.2978, 4.7452, 18.0859)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C77 #775217
analogous
#176C77 #173C77 #221777
triadic
#173C77 #77173C #3C7717
tetradic
#173C77 #77176C #775217 #177722
square
#173C77 #77176C #775217 #177722
split-complementary
#173C77 #772217 #6C7717
monochromatic
#050D1A #0D2244 #173C77 #2156AA #3171D7

Accessibility & contrast

On white

10.77
#173C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C77
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C77#FFFFFF#000000##FFFFFF
##173C771.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4279
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173c77;
/* rgb */ color: rgb(23, 60, 119);
/* oklch */ color: oklch(36.5% 0.110 259.5);
Tailwind
colors: {
  custom: {
    50: '#64719f',
    500: '#173c77',
    950: '#000000',
  },
}
SCSS
$custom: #173c77;
$custom-light: #64719f;
$custom-dark: #000000;
JSON
{
  "hex": "#173c77",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 119
  },
  "hsl": {
    "h": 216.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.10964,
    "h": 259.5
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#173C77
secondary
#AC823E
accent
#A83DEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173C77

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

Preview Lab → · Contrast checker → · Palette generator →

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