#173777#173777

#173777 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.116 H 262.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#173777
RGBrgb(23, 55, 119)
HSLhsl(220, 68%, 28%)
HSVhsv(220, 81%, 47%)
CMYKcmyk(80.7%, 53.8%, 0%, 53.3%)
CIE-LABlab(24.47, 13.51, -40.00)
CIE-LCHlch(24.47, 42.22, 288.67°)
OKLaboklab(35.35% -0.0157 -0.1152)
OKLCHoklch(35.35% 0.116 262.2)
XYZxyz(5.0481, 4.2459, 18.0027)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173777 #775717
analogous
#176777 #173777 #271777
triadic
#173777 #771737 #377717
tetradic
#173777 #771767 #775717 #177727
square
#173777 #771767 #775717 #177727
split-complementary
#173777 #772717 #677717
monochromatic
#050C1A #0D1F44 #173777 #214FAA #3169D7

Accessibility & contrast

On white

11.36
#173777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173777
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173777#FFFFFF#000000##FFFFFF
##1737771.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173777;
/* rgb */ color: rgb(23, 55, 119);
/* oklch */ color: oklch(35.3% 0.116 262.2);
Tailwind
colors: {
  custom: {
    50: '#646d9f',
    500: '#173777',
    950: '#000000',
  },
}
SCSS
$custom: #173777;
$custom-light: #646d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#173777",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 220,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35348,
    "c": 0.11623,
    "h": 262.2
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#173777
secondary
#AC873E
accent
#B13DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173777

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

Preview Lab → · Contrast checker → · Palette generator →

#173777 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva