#173977#173977

#173977 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.114 H 261.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#173977
RGBrgb(23, 57, 119)
HSLhsl(219, 68%, 28%)
HSVhsv(219, 81%, 47%)
CMYKcmyk(80.7%, 52.1%, 0%, 53.3%)
CIE-LABlab(25.07, 12.09, -39.02)
CIE-LCHlch(25.07, 40.85, 287.22°)
OKLaboklab(35.81% -0.0174 -0.1122)
OKLCHoklch(35.81% 0.114 261.2)
XYZxyz(5.1450, 4.4397, 18.0350)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173977 #775517
analogous
#176977 #173977 #251777
triadic
#173977 #771739 #397717
tetradic
#173977 #771769 #775517 #177725
square
#173977 #771769 #775517 #177725
split-complementary
#173977 #772517 #697717
monochromatic
#050C1A #0D2044 #173977 #2152AA #316CD7

Accessibility & contrast

On white

11.12
#173977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#173977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173977
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173977#FFFFFF#000000##FFFFFF
##1739771.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173977;
/* rgb */ color: rgb(23, 57, 119);
/* oklch */ color: oklch(35.8% 0.114 261.2);
Tailwind
colors: {
  custom: {
    50: '#646e9f',
    500: '#173977',
    950: '#000000',
  },
}
SCSS
$custom: #173977;
$custom-light: #646e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#173977",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 119
  },
  "hsl": {
    "h": 218.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35812,
    "c": 0.11357,
    "h": 261.2
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#173977
secondary
#AC853E
accent
#AD3DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173977

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

Preview Lab → · Contrast checker → · Palette generator →

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