#173973#173973

#173973 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.108 H 260.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#173973
RGBrgb(23, 57, 115)
HSLhsl(218, 67%, 27%)
HSVhsv(218, 80%, 45%)
CMYKcmyk(80%, 50.4%, 0%, 54.9%)
CIE-LABlab(24.78, 10.43, -36.95)
CIE-LCHlch(24.78, 38.39, 285.76°)
OKLaboklab(35.49% -0.018 -0.1061)
OKLCHoklch(35.49% 0.108 260.4)
XYZxyz(4.9099, 4.3457, 16.7964)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173973 #735117
analogous
#176773 #173973 #231773
triadic
#173973 #731739 #397317
tetradic
#173973 #731767 #735117 #177323
square
#173973 #731767 #735117 #177323
split-complementary
#173973 #732317 #677317
monochromatic
#050D1A #0D2040 #173973 #2152A6 #2F6CD5

Accessibility & contrast

On white

11.23
#173973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#173973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173973
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173973#FFFFFF#000000##FFFFFF
##1739731.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173973;
/* rgb */ color: rgb(23, 57, 115);
/* oklch */ color: oklch(35.5% 0.108 260.4);
Tailwind
colors: {
  custom: {
    50: '#636e9c',
    500: '#173973',
    950: '#000000',
  },
}
SCSS
$custom: #173973;
$custom-light: #636e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#173973",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 115
  },
  "hsl": {
    "h": 217.826,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35494,
    "c": 0.10766,
    "h": 260.4
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#173973
secondary
#A9813D
accent
#AA3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173973

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

Preview Lab → · Contrast checker → · Palette generator →

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