#173494#173494

#173494 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.161 H 265.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#173494
RGBrgb(23, 52, 148)
HSLhsl(226, 73%, 34%)
HSVhsv(226, 84%, 58%)
CMYKcmyk(84.5%, 64.9%, 0%, 42%)
CIE-LABlab(26.09, 27.43, -55.48)
CIE-LCHlch(26.09, 61.89, 296.31°)
OKLaboklab(37.33% -0.0122 -0.1606)
OKLCHoklch(37.33% 0.161 265.6)
XYZxyz(6.9248, 4.7754, 28.5680)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173494 #947717
analogous
#177294 #173494 #381794
triadic
#173494 #941734 #349417
tetradic
#173494 #941772 #947717 #179438
square
#173494 #941772 #947717 #179438
split-complementary
#173494 #943817 #729417
monochromatic
#070F2A #0F215F #173494 #1F47C9 #4468E2

Accessibility & contrast

On white

10.74
#173494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#173494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173494
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173494#FFFFFF#000000##FFFFFF
##1734941.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173494;
/* rgb */ color: rgb(23, 52, 148);
/* oklch */ color: oklch(37.3% 0.161 265.6);
Tailwind
colors: {
  custom: {
    50: '#6d6bb4',
    500: '#173494',
    950: '#000000',
  },
}
SCSS
$custom: #173494;
$custom-light: #6d6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#173494",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 226.08,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37329,
    "c": 0.16111,
    "h": 265.6
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#173494
secondary
#C3A544
accent
#C538F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173494

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

Preview Lab → · Contrast checker → · Palette generator →

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