#173674#173674

#173674 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.113 H 262.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#173674
RGBrgb(23, 54, 116)
HSLhsl(220, 67%, 27%)
HSVhsv(220, 80%, 45%)
CMYKcmyk(80.2%, 53.4%, 0%, 54.5%)
CIE-LABlab(23.94, 12.98, -38.95)
CIE-LCHlch(23.94, 41.05, 288.43°)
OKLaboklab(34.87% -0.0152 -0.1121)
OKLCHoklch(34.87% 0.113 262.3)
XYZxyz(4.8238, 4.0809, 17.0531)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173674 #745517
analogous
#176574 #173674 #271774
triadic
#173674 #741736 #367417
tetradic
#173674 #741765 #745517 #177427
square
#173674 #741765 #745517 #177427
split-complementary
#173674 #742717 #657417
monochromatic
#050C1A #0D1E41 #173674 #214EA7 #3067D6

Accessibility & contrast

On white

11.56
#173674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#173674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173674
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173674#FFFFFF#000000##FFFFFF
##1736741.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173674;
/* rgb */ color: rgb(23, 54, 116);
/* oklch */ color: oklch(34.9% 0.113 262.3);
Tailwind
colors: {
  custom: {
    50: '#646c9c',
    500: '#173674',
    950: '#000000',
  },
}
SCSS
$custom: #173674;
$custom-light: #646c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#173674",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 116
  },
  "hsl": {
    "h": 220,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34871,
    "c": 0.11312,
    "h": 262.3
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#173674
secondary
#A9853D
accent
#B13EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173674

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

Preview Lab → · Contrast checker → · Palette generator →

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