#173B77#173B77

#173B77 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.111 H 260.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#173B77
RGBrgb(23, 59, 119)
HSLhsl(218, 68%, 28%)
HSVhsv(218, 81%, 47%)
CMYKcmyk(80.7%, 50.4%, 0%, 53.3%)
CIE-LABlab(25.69, 10.68, -38.03)
CIE-LCHlch(25.69, 39.50, 285.69°)
OKLaboklab(36.28% -0.0191 -0.1093)
OKLCHoklch(36.28% 0.111 260.1)
XYZxyz(5.2459, 4.6414, 18.0686)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B77 #775317
analogous
#176B77 #173B77 #231777
triadic
#173B77 #77173B #3B7717
tetradic
#173B77 #77176B #775317 #177723
square
#173B77 #77176B #775317 #177723
split-complementary
#173B77 #772317 #6B7717
monochromatic
#050D1A #0D2244 #173B77 #2154AA #316FD7

Accessibility & contrast

On white

10.89
#173B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B77
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B77#FFFFFF#000000##FFFFFF
##173B771.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194279
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173b77;
/* rgb */ color: rgb(23, 59, 119);
/* oklch */ color: oklch(36.3% 0.111 260.1);
Tailwind
colors: {
  custom: {
    50: '#64709f',
    500: '#173b77',
    950: '#000000',
  },
}
SCSS
$custom: #173b77;
$custom-light: #64709f;
$custom-dark: #000000;
JSON
{
  "hex": "#173b77",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 119
  },
  "hsl": {
    "h": 217.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.11094,
    "h": 260.1
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#173B77
secondary
#AC833E
accent
#AA3DEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173B77

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

Preview Lab → · Contrast checker → · Palette generator →

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