#173474#173474

#173474 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.116 H 263.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#173474
RGBrgb(23, 52, 116)
HSLhsl(221, 67%, 27%)
HSVhsv(221, 80%, 45%)
CMYKcmyk(80.2%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.33, 14.41, -39.93)
CIE-LCHlch(23.33, 42.45, 289.84°)
OKLaboklab(34.41% -0.0136 -0.115)
OKLCHoklch(34.41% 0.116 263.3)
XYZxyz(4.7326, 3.8986, 17.0227)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173474 #745717
analogous
#176374 #173474 #281774
triadic
#173474 #741734 #347417
tetradic
#173474 #741763 #745717 #177428
square
#173474 #741763 #745717 #177428
split-complementary
#173474 #742817 #637417
monochromatic
#050B1A #0D1D41 #173474 #214BA7 #3063D6

Accessibility & contrast

On white

11.80
#173474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173474
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173474#FFFFFF#000000##FFFFFF
##1734741.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173474;
/* rgb */ color: rgb(23, 52, 116);
/* oklch */ color: oklch(34.4% 0.116 263.3);
Tailwind
colors: {
  custom: {
    50: '#646a9d',
    500: '#173474',
    950: '#000000',
  },
}
SCSS
$custom: #173474;
$custom-light: #646a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#173474",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 221.29,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.11581,
    "h": 263.3
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#173474
secondary
#A9883D
accent
#B43EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173474

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

Preview Lab → · Contrast checker → · Palette generator →

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